avoid warnings when a blank property_name is passed in

Change-Id: Id2ac5f555e6f0fee8b1ecb2ddcb219f074a1e375
move the check for $table_name up one scope

Change-Id: I75866a6ed57f7ad9b210e265dd4f0a6445c03828
Handle the case where a class' table_name is an inline view

Change-Id: I404a72ab4fb3e48e2035c2ee21c36f9f40120b51
Use the same mechanism for finding a column's property_meta as the UR::DS::Pg

This old way only works if the get() has -order_by in its arg list, not for
the implicit order_by for ID properties.

Change-Id: Iecfa94b031f1767542828e1727f1beaaaa07be03
Extract the code to resolve the column's property_meta to the caller

Change-Id: I00dd2a4f5239cbeadc5bae9f08a58b63637d9673
be more tollerant of case mismatches

Change-Id: Id4285481f0595d90513ea6603b645156ba2c7b4f
When resolving the order by property metas, defer to the query plan

The order_by code was crashing when asked to find the property_meta for
something like table_1.column, which was a table alias created because
it was asked to order by on a delegated property which required an SQL
join.

Change-Id: Ie07acec109f9279767c8bf114ba5630813659209
escape any strange characters in the table name

Change-Id: I5c5385903e31f758c392ea7b69b985f9e4b01ee4
Make a method to extract the SQL alias for an inline view

Change-Id: I507abd3c2c17013dd97f1c294ea11e60f80e964e
support optional "as" in inline views

Change-Id: Ic5a11d18e968031ac70397cee5e5481cb0ba9d70
combine the two loops into one

Change-Id: I55d246dc9ae3a585c28e96b29f16707b59f35230
always ask that class' data source instead of the top-level class' data source

Change-Id: I6d0846169903db7a7d9ed5fd64c681a10c9d5be8
Use the same condition as the "next" right after.

In principal, this won't make any difference in execution.  There currently
aren't any cases where _resolve_owner_and_table_from_table_name() would
return nothing, but parse_view_and_alias_from_inline_view() would.

Change-Id: I83a60e97f29ea3cf311d96a1bf86f555c79558bf
Merge pull request #6 from amb43790/rt99411

Handle order-by with classes that have inline views for table_name