Fix multi-connection databases for factoids, Fix a small output inconsistency, Make factoids support Unicode

Signed-off-by: xxyy <devnull@nowak-at.net>
Merge pull request #227 from xxyy/feature/factoid-multiconn

Fix multi-connection databases for factoids and other minor stuff