Get application preferences

Returns the current application preferences, including general, type, units, guides, and smart guides preferences.