Testing and fixing previous commit updates.

We are now at the point where a basic object tree is created
or loaded on startup.
Fix invalid usage of return values from UM.resetPasswordKey.
NT._protocol now uses a storagevalue.
Added missing return in TemplateRuleInt.apply.
Add missing return to TemplateRuleFlushAssociations.apply.
Fix template missing var ref.