Add setTypeField and deleteTypeField methods to core. Changes to Type methods. Remove sql debug from translate method to prevent JS errors. Upd dbdump. Fix some bugs.