DATAMONGO-1008 - Added repository type based checks to strict matching algorithm.

Repositories extending MongoRepository are now considered strict matches as well.

Related ticket: DATACMNS-526.
DATAMONGO-1008 - DefaultIndexOperations no considers 2dsphere, too.

We now also check for 2dsphere when inspecting index keys and create an geo IndexField in that case.

Original pull request: #210.
DATAMONGO-1008 - Polishing.

Slightly changed the implementation of the 2dsphere check, Minor refactorings in the test case.

Original pull request: #210.