add translated sentence model.
add helper module for direct sql interaction.
add method to fetch directly imported ontologies.
add method to apply translation to sentence.
save current state of sentence translations.
Merge branch 'staging' into 676-translate_sentences
fix entity mapping for correct find/create-update

The old code only created a new mapping if there
was no preexisting mapping.
No we create a new mapping unless an old one is found.
add entitymapping reference to translated sentence.
add implicit call to create translated sentences.
add methods for applicablity of translation.
add methods to fetch translated/combined sentences.
establish generation of translated sentences.
mimic important parts of sentence for translation.
adjust view for translated sentences.
fix import-direction and query type

For fetching directly imported ontologies
we need to adjust the direction as well.
Also we can't use find, because that would
only return one record.
Merge branch 'staging' into 676-translate_sentences
add imported flag to sentences

This flag shall respresent if this
sentence originated in a <ImpAxioms>
element.
set default scope of sentences

Set the default scoped to imported: false
to ensure past behavior. In order to get
all sentences, the all_sentences method
was defined.
add method to determine if logic translations exist

Logic translations have to be present if
at least one of the imported ontologies is not
of the same logic as the base ontology.
add view support for logic-translations

Also allow self/all switching for logic translations.
This should make switching between self-defined sentences and
all sentences for logic translated sentences possible.