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.

The main motivation is to make the upcoming customization stuff in boxen/puppet-osx#3 easier to use.