adding method type parameters to selectObject methods in the class Query
changing ListTerm to be a list of Terms instead of a List of TermConvertables. Other minor refactorings.