The TemplateCache variable in oae.api.util is defined as an Array while it should be a plain Object

In https://github.com/oaeproject/3akai-ux/blob/master/shared/oae/api/oae.api.util.js#L153:

The templateCache variable is defined as an array
`var templateCache = [];`

But compiled templates are added to the templateCache as properties ([link](https://github.com/oaeproject/3akai-ux/blob/master/shared/oae/api/oae.api.util.js#L299)):
`templateCache[templateId] = TrimPath.parseTemplate(templateContent, templateId);`

The cache works, but it makes debugging really hard as logging the variable will always print out an empty array.