Sample App redirects to login server for authentication

instead of the uaa

Controlled by the UAA_PROFILE system property
Use gradle-all dist for nicer intellij integration
Collect coverage data
Run tests using gradle on travis ci