Remove replacement of forward slashes to periods

The slash maps to the hierarchy of templates (as they are defined in
the the templates/ directory), but more importantly they are more
distinct to the eye when reading code since periods are used everywhere
for CSS class selectors.
Migrate all ui modules to use string-based template ids

This removes the need to include templates as dependencies in the
module directly. Instead views defined in the module now reference the
template via it's template id (stripped down version of the path).