Browser: PT-BR translations

Change-Id: I0e076eb1fefad1c3fa0dc8db7c2950a858c2d801
Browser: add to recognize additional website format

This feature contains two points:
1. add to support "mailto" website format in webpage.
2. add to support input "rtsp://" website format in url bar.

The others website, such as "tel:", "sms:", "smsto:", "mms:",
"mmsto:" have been supported in Android 4.4 release.

Change-Id: I65677995282358f3b08bad02ad2bb4750c3418e0
Browser: add homepage and bookmark feature

Add specified homepage and bookmarks for carrier.

Change-Id: I923e41e376685e0d5c45b8ce8f2e523d56492680
Browser: add to support setting download save path

This feature contains these points:
1. add download path in browser-settings.
2. add one new activity to make user choose download path
   and input filename. will check filename empty or not,
   and also check file existing or not.
3. check storage memory enough or not.

Meanwhile, we will show user the prefered download path per
the mimetype we get.

Change-Id: I24c871f3391a4b2c6df05f318ae13a1060c26937
Browser: add to customize useragent

This feature requires to set useragent with specified
format. We try to load carrier useragent if needed.

Change-Id: Idc21e55b98f3450c97cffcd1ed10171c4ed0c618
 Browser: add to choose play or download for audio/video

 This feature is to say:
 When user clicks one http audio or video link in web page,
 we will prompt a dialog to let user choose play or download
 this file.
 If choose play, will try to play this file with application.
 If choose download, will try to download this file into storage.

Change-Id: If1789e1968cf520739365ee3e0d3326b637d2d16
Browser: Fix force close when copy link URL of new tab in bookmarks

When long press the bookmark(Most visited page) and click
"Copy link URL" menu, SecurityException happened due to
HomeProvider does not allow granting of Uri permissions.

set android:grantUriPermissions true for HomeProvider.

CRs-Fixed: 565421

Change-Id: I9a9293835e592303163fb135b5118558dd3f903f
Browser: Remove Select Text when longpressing on link

When a longpress is performed on a browser link,
context menu will be launched. One of the alternatives
"Select text", does not trigger any action when selected.

Remove this alternative since there are no action implemented
to handle this selection. Copying the link will still work as
before.

CRs-Fixed: 561520

Change-Id: I26d990a58e6cd60606ed0644b7ea0e74397d0e8f
Browser: fix open a blank tab for folder-type bookmark

When open all urls of the bookmark folder, it will get
null value for url of subfolder in this folder, and then
will open one blank tab for the subfolder.

Change not to open a blank tab for folder-type bookmark.

CRs-Fixed: 513065

Change-Id: I9a5b24fb9f2976adc283e4b083253ec80cdcc6f6
Browser: add some operations in bookmark/history page

This feature contains below points:
1. add "new bookmark" operation in bookmark page.
2. add "new folder" operation in bookmark page.
3. add to check duplicate bookmark and folder.
4. enable history page in browser.
5. add "clear history" operation in history page.

Change-Id: I5c64033e120d96b080ccccd091433f54d7c9f9e7
Browser: add to support more menu operations

This feature contains below points:
1. enable homepage, back, history these menu items when
   not showing nav screen.
2. add exit menu item, user can choose to quit or minimize
   when exit browser.
3. add about menu item to show the user agent string.

Change-Id: I3765a6404f3f9d15d34ed7c17483c1112dc090b3
Browser: fix nothing to do for "Done" button

The done key press was stolen in AddBookmarkPage.java.
The reason for this was, newline character will be added
as bookmark folder name. So to fix this issue, new line
character in keyboard was disabled. Also removed the
handling of key press in AddBookmarkPage.java.

Change-Id: I995a7e9cbc9301ea0b69b87f1a7dff304ea8fadd
CRs-Fixed: 571202
Browser: change to show title not url in UrlInputView

Carrier requires to show html title in browser url input
view, and so we change to show title instead of url.

Change-Id: I6b1e1bcb477bec3f6ab0cf7f5d1e6d588e1d9e1d
CRs-Fixed: 538165
Merge remote-tracking branch 'upstream/cm-11.0' into ronmod-3

Conflicts:
	res/menu/browser.xml
	src/com/android/browser/BrowserSettings.java