DATAMONGO-709 - Added support for restricting results by document types.

Added restrict(…) method to the Query API that generates appropriate filter criteria to restrict the result to certain types only.
Added test case to MongoTemplateTests and QueryTests.