Replace Pair by built in Tuple, split Application.instances impl to different mapped functions.

Sorry I was too lazy and include 2 unrelated commits in 1 PR...

One replaces the javatuples Pair by Play's built in Tuple.

The other one breaks down Application.instances into separate steps / distinct functions. This improves readability and maybe the functions could be reused.