Merge pull request #3642 branch 'hotfix/authentication-db-fix'
Better travis build

- Uses "$?" to determine success of a command; previous php-cs-fixer usage was
  not necessary, as travis terminal is color-enabled.
- Echoes out the exit status for each command, to make it easier to determine
  which is responsible for a failed build.
Merge branch 'hotfix/travis-exit-codes' into develop

Fixes build script to properly report both test and CS failures.