Switched to using an erb template for generating the controller.md

Sadly pygments throws a hissy fit when given a term or json code fence.
Added link to schema in docs