Update CI settings

- Allow `code_rating` and `duplication` checks on Scrutinizer
- Exclude tests/* and vendor/* from Scrutinizer paths
- Fix Travis error when running composer
- Run `php_analyzer` on Scrutinizer
- Run `php_mess_detector` on Scrutinizer
- Run PHPUnit on Travis without using Foundation
- Run tests coverage on Scrutinizer