Support for more types of cells

Supports slider and text field type cells. Also supports grouping of cells
Needs to be `NSUInteger`. Try building for 64-bit and pay attention to the warnings.