Import SegmentedControl from FlatUI (MIT)

Source: https://github.com/piotrbernad/FlatUI/blob/master/FlatUI/Classess/PBFlatSegmentedControl.m
Cleanup, fix minors, tests