Use newer gradle version and allow Java1.8.
Port to Java 8 and newer version of gradle.

Introduces lambdas in all verticles and some refactorings in the auth manager.
Closes #4