Renamed CheckBox to BoolWidget and added different display modes.

The display modes are CheckBox (like before) and Switch.
Used BoolWidget switch mode to improve CompoundDataPlugValueWidgets.

Fixes #65.
Merge pull request #586 from johnhaddon/boolWidget

BoolWidget