Fix foreach with objects
Fix foreach with objects

{foreach $FileList as $Key => $File}

{/foreach}

where $FileList is an object like this:

[12/c108cc0cde03c332305ecb74be64a476.png: Object]
12/c108cc0cde03c332305ecb74be64a476.png: Object
FileID: "12/c108cc0cde03c332305ecb74be64a476.png"

https://github.com/miroshnikov/jsmart/issues/42

umakantp/jsmart