TST: add basic test for overwriting user namespace
CLN: remove unused imports from pytables.py
ENH: handle Indexes in alignment
ENH: add things not in local to locals

This should happen even if we're only reading because
numexpr needs them in either local or global dict.
ENH: add proper special-case resolvers to query method
TST: add test for querying from named indices
TST: make sure we are not just spinning our proverbial wheels