Work around anydbm imps that lack iteritems()
Add .gitignore with a few useful entries.