add index utilities and tests
bump django version to the one hq is on
Merge pull request #207 from dimagi/index_utils

add index utilities and tests