Merge pull request #1 from FlavourSys/master

TS 3.1.0: Use Connection#execute, not #query.
Use internal TS index/delete jobs instead of maintaining our own logic.