started integration with TravisCI and PHPUnit, some warning fixes for cli mode