Create BooleanProperty if a bool is given for the kv property.

In the past, if the value was of type `bool`, a `NumericProperty` would be created, this changes it to create a`BooleanProperty` instead.