No longer pass $permissionsUser in Templating

Templating is always being used for the exact same permissions
user.  Instead of passing it arround accept a permissions object
on instantiation and reuse in all cases.

Change-Id: I6318ad329f8f55713385f4207ea4b273ceee5d63
Merge "No longer pass $permissionsUser in Templating"