[WIP] Fixing phpunit configs
[WIP] Added Travis and Scrutinizer configs. Updated some tests and docs.