Code formatting improvements submitted by @arthurkushman.
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
This is modeled after the Backend helper. Primarily used to generate URLs for the frontend, these are piped through the CmsController action. It would also be a good place to add a hook, if necessary later.