Partials

Final commit fixes up the partials object so the render pulls in the partials.

Sorry about the extra commits, its from the other PR's I've submitted, should be easy enough to cherry pick this one if there are problems with the other PRs.