Check for *_INVALID enum on *_set() functions with enum for all database object.
Continue working on update().
Add engine to update(), for use with hsm_key_factory.
Add set_roll(), to set zone roll now for role based on policy key.
Restructure some code in updatePolicy(), added a lot of code descriptions,
check return on a lot of functions, plug memory leaks.