import index_query in mysql3 namespace

Otherwise the module can't operate as an indexer.

fixes #12

released a 3.1.1