control-group: abstract helper for grouping different controls

close #540
![2014-06-30_1624](https://cloud.githubusercontent.com/assets/521273/3429299/905a4bce-0051-11e4-81c3-1a26eb7c1e87.png)