Replace all variables for each iteration
Replace all variables for each iteration

To reproduce the bug:

//Object
myobject = {one:'1', two:'2', three:'3'};

//Template
<!-- BEGIN myobject -->
Values are: @key - @value<br />
Values should be even: @key - @value<br />
Values should always be: @key - @value<br />
<!-- END myobject -->

//Array
myarray = ['one', 'two', 'three'];

//Template
<!-- BEGIN myarray -->
Values are: @index - @value<br />
Values should be even: @index - @value<br />
Values should always be: @index - @value<br />
<!-- END myarray -->
benchpressjs/benchpressjs,benchpressjs/benchpressjs,benchpressjs/templates.js,benchpressjs/benchpressjs,barisusakli/templates.js,barisusakli/templates.js,benchpressjs/templates.js,psychobunny/templates.js,psychobunny/templates.js