Merge pull request #4 from nubs/master

Require PHP 5.4.
Add packagist badges.