Add Magento 1.9 support

Bug fix: [yes|no]
Feature addition: [yes|no]
Backwards compatibility break: [yes|no]
Phpspec specification passes: [yes|no]
Checkstyle issues: [yes|no]*
ChangeLog updated: [yes|no]
Fixes the following issue: