Further decoupling of u2py.db module.

+ u2py.db.Event got 2 new class attributes: DEFAULT_KEYS and EXTRA_KEYS.
+ Since ErrorCode attribute is now initialized to None bu default, adbk_struct properly handles this situation.