COOPR-634: Add /resolve API for resolving templates with extend (parent) and includes (partials)