db query builder added compile_insert() method
db class moved insert sql generation into query builder
db class cleanup