Add 'boolean' type support

This commit allows the yaml_setting type to accept 'boolean' as a type,
and to automatically detect it.