Improve workflow for rendering partials with new view class.

1. Added test coverage for different use cases.
2. Added a build method to construct a new mustache.
3. Added documentation for various workflows.