BrowserSettings: update desktop UA string to match Chrome 33

This matches the corresponding update to Chromium 33 for Android WebView.

Change-Id: Id2a8a832c2a637f7c5284d5006b6f3475bfba560
reduce cookie tracking (4/4): onResume deletion of cookies

Optionally delete unwanted cookies (and localstorage) at every Browser
resume. The default for this feature is off - ie. maintain the current
Browser "keep every cookie" behaviour.

Optionally localstorage files (site databases) are also removed whenever
cookies have been deleted. This helps to reduce evercookie/supercookie
persistence.

A whitelist of sites that are permitted to keep cookies is stored in the
standard Browser shared_prefs. The site's cookie preference is set via a
menu checkbox when viewing the page. This allows opt-in whitelisting
behaviour on a per-site basis, suitable for saving eg. login cookies.

The cookie deletion itself is done by using existing API's to delete all
cookies and then selectively restore just those from the whitelisted sites.
Cookie counting is the only new API needed by this patch, and is used to
eliminate unnecessary cookie and localstorage deletes.

Although simplistic, onResume cookie filtering seems to work well and in
testing hasn't broken any web browsing. The underlying CookieMonster
functions operate on cached copies in ram and are asynchronous to disk so
there should be little or no measurable performance impact on browsing from
cookies. localstorage deletion is not cached by any layer so, if enabled,
might have some minor performance impact.

Change-Id: I55c69292a5ddc460e0e50b340dc4330c28becc5e
Automatic translation import

Change-Id: I298fcbbbe0898025cf737bca4ce16ea5276f4ddd
Automatic translation import

Change-Id: I1d6a363140deba430a2c9babb31504ac6ef7cd57
Automatic translation import

Change-Id: I03ac3783d8a008304159a9a935a7d83af6f1966a
Automatic translation import

Change-Id: I7dab41825b8201fc113ec9ca3555db22dd4b10a4
Automatic translation import

Change-Id: Ib1f1da8cca85bfb6fe127cc6385b555efb4dc9c7
browser: Fix occasional NPE

view.getUrl() may sometimes return null.  syncCurrentState() checks for
null when setting mCurrentState.mUrl so use that instead.

Change-Id: I487249c6665d192b3c95e09a0b64ee840202f127
Browser: add duckduckgo search enginge to RU locale

Requested in JIRA CYAN-3875

Change-Id: Ia3fcf0f491958111660ada41b9bbeae73f8ac27c
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Automatic translation import

Change-Id: Id4e9b805e8706b682a1b226bbf915e22f9579e76
Automatic translation import

Change-Id: I20180a2872a0d51d1b895059e7ca3929ab65dcad
Merge branch 'cm-11.0' of git://github.com/Cyanogenmod/android_packages_apps_Browser into HEAD