Model_Table -> SQL_Model etc.

1) Model_Table -> SQL_Model
2) Some PSR-2 fixes
3) Fixed 2 nasty bugs in AbstractObject (found them accidentally while
was fixing PSR-2)