Tests refactoring; Code inspection; General clean up;
Added coverals and travis;
Composer fix;
Db fix
Merge pull request #1 from szytko/master

Tests refactoring