Merge pull request #843 from LukasK/fixes

[FIX] Updates: calculation of accumulated pre value shifts for a mixture...
[MIN] XQuery: chopping some error messages
[MIN] XQuery: suppress stack trace for runtime opts. (occurs too often)
[FIX] remove potential pitfall regarding ID overflows when updating fragments