Update tests for swagger-ui 2.0 updates

I have removed support for swagger-php 0.4 and updated travis and
scrutinizer configuration.