detect boolean values and set them correctly

This makes osx_defaults notice when you pass a boolean value and
automatically add the `-bool` argument to `defaults write`. This saves
the user from remembering to specify the type in their manifest.