trying to fix issue #156
added conditional helper is_page_wpml
code documentation
locals will be available within all the rendered view
fix bug in is_page_wpml logic when array is passed