first version of middleware injecting ox.version

this can be used to run appserver for appsuite plugins without using
url-hacks like &debug-js=true