Add initial preference support for booleans

Boolean preference values map to checkboxes. Add
support for these types of preferences.