Fix urls for error-ed modules

Client-side controllers were not passing correct page-per-thing urls to error view when backdrop failed, making debugging hard because you couldn't click through to get a json link.

Share the code that renders modules between client and server dashboard controllers to have a single implementation of this code.