Union merge on historical

merge union query results on historical nodes - 
1) decreases the amount of data to be merged on the brokers
2) removes additional layer of merging sequences
3) decreases the amount of queries sent to historicals
This section needs reformatting for indenting.