Coded index delete with tests
Merge branch 'mycouch-query' into develop