Views fixed: missing $index_array initialization

Now views need $index_array to get cluster name by hostname, however,
initialization code was missing in the views context. It happened when
moving views from host context into views context.
Merge pull request #220 from lark/views

Views fixed: missing $index_array initialization