Updates composer.json with php 5.4requirement and adds phpunit to dev requirements.