Fixed getTableSQL() in Model
Changed while() loop in listFromCursor to doWhile() so that the cursor
will work with its current position.
Added Util class with setDebug(). Will be adding debug calls throughout
the Model.
Added more safety checks to Model.Factory.listFromCursor()
Replaced AsyncModelFactory with AsyncModelLoader.
Revert "Replaced AsyncModelFactory with AsyncModelLoader."

This reverts commit d604ca093d8f1d741792fa7875f128c5a2557a5f.