Finished refactor to have the php dbo layer return a data structure containing errors, row counts, and results.  Also added the where clause data structure and started on the extended sql calls.
Finish the autogenerated extended sql calls