a first pass at indexing equality joins

Queries with equality joins like 'JOIN bar ON foo.id = bar.id' now run
~200x faster thanks to an in memory index.