Not using existing files for the sqlite index databases, so the tables get created.
More Python 3 compatibility tweaks, and fixing a stupid wrong-module error
Getting rid of some .next method invocations, and fixing search tests to not expect results to come out of a dict in some fixed order