Major refactoring. Remove inserter/atomizer/tx from IMDb package.

Rationale: The imdb package should only be for reading, but the
inserter/atomizer/tx are really only useful for writing. So I've moved
them into goim proper.