CORE-5832 Moved legacy routes into their own namespace.

Required to update to compojure-api 0.15.0, otherwise a "java.lang.RuntimeException: Method code too large!" exception is thrown when compiling core.clj.
Also re-ordered 'swaggered' routes, since having the "secured-routes" after the "metadactyl-routes" causes all the secured routes to return "unrecognized service path" errors.
CORE-5832 Updated /apps/:app-id/ui response JSON.

Updated JSON response for pipelines.