Remove horrible monkey-patching

Previously, a horrible monkey-patched hack was used to deal with resolving the location of localized templates. This PR removes the monkey patching, substituting a custom `View` implementation/resolver. `lib/view/js.js` was mostly rewritten, so a careful review of the code in its current state (as opposed to a diff) would be extremely helpful.