fix by segment results

1) fix class cast in by segment results
2) exclude old netty version coming from curator
merge changes from master
Merge pull request #494 from metamx/fix-bysegment-results

fix bySegmentResults