Fix failing unit tests
Fix code style errors
Integrate Travis-CI for PHPUnit testing
Add build status icon to README
Travis file wasn't validating