Fix a few crashes
Get rid of insert_dep, we need this in dbconn

The DB interface will need some more love in order to be included into
upstream dak, including using SQLAlchemy ORM and moving that piece of
code to dbconn.py
Small changes
Merge
Calling write_bin_dep11