COOPR:629 Update template APIs to support extending templates and including partials

@jwang47 Branch ready for review.
For test ordering. I want that templates will be parsed and persisted at the begin so we can get it in the next tests, and deleted at the final test method.