update to work with Mongo 2.6

see http://docs.mongodb.org/master/release-notes/2.6-compatibility/#maxdistance-changes
Merge pull request #73 from codeforboston/update_mongo

update to work with Mongo 2.6