adjust textId not to be globally unique (only inside a specific document)
we have to update the _node table as well
updated constraints for staging area
allow different table insert statements for select and from in insertCorpus()
always add corpus_ref join condition since text_ref is now not any longer global unique
trying to speed up updating the text corpus reference on import
also copy toplevel corpus (otherwise we can't delete it later)
adjust indexes that used only text_ref
remove the text id only query (since the text id is useless without the document id)
re-enable annotate queries
fixing matrix query (needs to join on corpus_ref)
Merge pull request #68 from thomaskrause/feature/independant_text_id

The text id should not be globally unique (only relative to document id)
javadoc improvement
adding empty TransitivePrecedenceWhereClauseGenerator and it's test
transitive precedence should be implemeted as query extender
finishing first draft of the test
do not transform AST from SableCC but QueryData
initial real implementation of TransitivePrecedenceOptimizer (does not work yet)
some descriptive test error messages
more consistent logic and fixed a bug in the test case