publish workflow checks for routes

This adds support for a simple publishing workflow for routes. It's not considered to be WIP anymore. Can it be merged?