Replaced Array.is_Array() with "intanceof Array".

Because ie doesn't want to work properly with Array.is_Array().
Added tmpl_is_commented option.

It is used to strip enclosing comment. For example, as a workaround
for the stupid ie innerHTML normalization.