Named functions for browser compiled templates

* Adds named templating functions when using a `compileClient`
  in the browser. This allows users to use multiple templates
  in the browser in a single page without the need for a
  module loader