Add Mustache inheritance version

There is a [proposed extension to Mustache to support template
inheritance][1]. This produces a version of the template which can be
used by implementations which support it.

[1]: https://github.com/mustache/spec/issues/38