Added behat test script and phpunit
Added phpunit to travis-ci
Fixed violations from scrutinizer report