added configuration for coversall and scrutinizer

Hello, I added the configuration for the webservices coversall (https://coveralls.io/) and scrutinizer (https://scrutinizer-ci.com). Based on the results from scrutinizer, I formated the code a little bit (with help from phpStorm)