Merge pull request #1 from magro/master

Improve Application.instances, use flatMap instead of map
Updated gitignore
Changed localStore to return list of pairs
Replace javatuples Pair by play's built in Tuple
Refactor Application instances: break down into different functions