Try some optimisations to creating new db

Collate the addresses in memory and only write to sqlite at the end.

At this point I'm going to drop the fts4 version as adding the count
appears to be pretty hard and for two columns using like should be fine.