Changed the query from cursor to one, which ...

... reduces unnecessary list processing and cursor creation.
Merge pull request #222 from Skamander/mongo-config

Enhancement to play-mongo