Allows the removal of default apps from the dock

No more photobooth, no more garageband sitting in the dock next to
RubyMine. This can be turned on/off via the configuration setting:
'dock_preferences'->'clear_apps'

Also allows for the dock size to be adjusted and makes orientation
adjustment optional via configuration setting

Enable array support for osx_defaults provider