Updates travis config to includ scrutinizer code coverage
Adds fancy code coverage and quality badges
Removes unsed variable
Fixes minor typing doc missing.
Removes useless error messages
Removes useless tests
Adds 5.5 as a target php version