DATAMONGO-653

Added support for index operations to GridFS template.
Merge branch 'DATAMONGO-653'