Project setup improvements

Changed composer.json to work again and added phpunit. This seems to have fixed the build in travis too :D