revert changes for 5.3 compatibility, update composer.json PHP requirement to >=5.4.0