fix(storageLocal): fixes QUOTAEXCEEDEDERROR (safari private browsing)

This will handle localStorage errors on Safari private browsing (desktop/iOS) and fallback to cookie storage (see issue #384)