fixes for running playframework 1.3 with Java 8 and lambdas