Updated ModifiedSupport to work with PolymorphicORMTable.
Updated ORMTable.result2Object to only attempt conversion if the QueryResult actually has fields that are applicable to the table to avoid custom queries throwing exceptions when the object cannot be constructed.