Updated utilities to include only those required.

Template utility functions are now separate with dependencies. This
allows only those utilities that are used in a given template to be
defined, which more than doubles rendering speed for some static
templates.

The utilities object may later be exposed.