adding getIndex feature in collection
Merge branch 'master' of github.com:pcpratts/fixeddb