Added getNextId to allow us to get the next sequence number. Did quite a
bit of jumping through hoops to get this done for SQL Lite. Did a local
store of sequence numbers so we managed what the "next" sequence number
is. This was needed coz max + 1 wasn't going to cut it. On the
databaseable side of things we added a parentUpdated and
prepareDataForInsertion and an elongated setId method that notifies
children of updates in the parents. Children can override parentUpdated
to update their respective ids. Also added a print hash table method to
Utils.