Cleanup view helper

Removes the `ViewHelper` object in favor of two auxiliary functions: `appendTemplatedView` and `mergeViewBindings`.

The next step is to rewrite the other helpers to use these functions instead of using `helpers.viewHelper.call`.