fix for null mongoOptions

closes #59
Merge pull request #55 from twillouer/correctindex

add command "deleteIndexes"
distinct can take value from path
merge from master
TreeMap for implementation