Adding the ability to process $template var separate.

Separate of the build function, that is.

This comes in handy if you need to use template functions in your page type fields.

Addresses #2555
Merge branch '2.2/develop' of github.com:pyrocms/pyrocms into 2.2/develop