Add support for PHP 5.4
Merge pull request #53 from jkrehm/php54

Add support for PHP 5.4