Refactor XQuery modules
Currently we use different XQuery modules for the core tei-publisher-app and for generated apps. The difference between the two is mainly that in a generated app the ODD is static and does not need to be passed around.
It would be great to harmonise app.xql, pages.xql, epub.xql and maybe more, so we get rid of the redundancy.