Added a generic insertObject method.

As long as the object extends the DBBaseObject class,

this method can insert into the database.

It's not fool proof -improper SQL syntax will also

cause a crash.