Create BooleanProperty if a bool is given for the kv property.
Merge pull request #2269 from matham/bool-prop

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