Upgrade to better use the template_content attributes. We no longer need the _d stuffs, we can just build it all in-memory instead. Also adds a new View resource to generate simple (for now) Jenkins views.

Ping @mahmoudimus @mjallday for code review.