Added type & host parameters to osx_defaults type

* added type parameter for setting types to keys eg: string, bool, int,array, etc
* added option for defaults host option