Switch import tag storage in postgresql to hstore

Indexes have also been redone to take into account the new storage

This closes #10