Updated query mongo to enclose query params in an  - fixes #622
Merge pull request #1014 from modilabs/662_or_query_to_api

Updated query mongo to enclose query params in $and  - closes #662