fix problem with symbol array as view_template_whitelist
Fixed view_template_whitelist and layout_template_whitelist when assigned with symbols.

As per https://twitter.com/yelinaung/status/331435726967275520