Removing entity interface.
Fixing class results tests and adding missing tests.
Adding travis.
Breaking long line method.
Adding php code-sniffer and coveralls as dependencies.