Add dump-keys-sqlite3.py, improved tool

Works like dump-keys-sqlite3.sh, but works better. The sh tool is
stripping parts of some keys for some reason.