Fix E_STRICT errors and enable test for PHP 5.4
Merge pull request #25 from rchavik/fix-strict-errors

Fix E_STRICT errors and enable test for PHP 5.4. Thanks, @lucfranken.