Twisted db

DO NOT MERGE YET
* removed "changes" property in database
* removed "last_insert_rowid" property in database