Applied a back-pressure check to ensure that the database does not get overloaded
Merge branch 'master' into backpressure-checking

Conflicts:
	play-scala/app/controllers/Application.scala
Added back-pressure capabilities to play-java also.
No longer require this tpe declaration as the tpe is declared in code.
Doesn't require a function declaration for the predicate
Revert "Doesn't require a function declaration for the predicate"

This reverts commit a4dabeee7c7d08fe20b5f895b7adc2312ffb1367.
Strengthened the result type to become clearer.
Returning a thunk for failure in order to defer the evaluation of it.
Merge pull request #124 from huntc/backpressure-checking

Backpressure checking