Added a boolean "applyUserCOnstraints" to QUest, QuestOWL and
QuestOWLFactory to avoid passing around null values.
Adds tables referred to by foreign keys in user-supplied constraints to
the list of tables for which metadata is fetched in the
non-full-metadata case. Also some tests for this.