cleanup

* switched back tojson to json.dumps
* no need for global in load_index()
Merge branch 'kwd-search-clean-no-autocompl' of ssh://github.com/vidma/DAS into kwd-search-clean-no-autocompl