Add PHP 5.4 requirement and autoloader spec to composer.json