Sort aggregate graphs correctly

Sort aggregate graphs by hostnames.
updated check_multiple_metrics_warn.php to reflect changes in metric gathering loop in other php scripts, seems to fix no metrics fouind issue
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
Merge pull request #213 from sylr/master

Sort aggregate graphs correctly
Merge pull request #219 from mshearer/master

updated check_multiple_metrics_warn.php to reflect changes in metric gat...
Merge remote branch 'upstream/master'
Fix APACHE_USER define in makefile.

Whitespace at end of 'APACHE_USER' define broke chown command.
Merge pull request #221 from timstaley/fix-makefile

Fix APACHE_USER define in makefile.
Merge pull request #212 from pcpiela/master

Improve cluster load-heatmap implementation
Handle case when metric group is no_group
Fix for #218
Merge remote branch 'upstream/master'
Fix for issue 212. The load distribution heatmap would fail to be created for clusters with a number of hosts that did not have an exact integer square root.