WIP: [ticket/11013] Enable arrays to be set and used within templates

Allow arrays to be assigned and retrieved in templates. This allows arrays to be assigned to template vars and retrieved within templates in the form {VAR NAME->parameter}. Works with conditional conditions and within blocks. Added three basic units, not sure if that's enough or if they're of the most appropriate form.

PHPBB3-11013