Use general permission API.

Geolocation related code is untouched.
PermissionsPrompt is almost same as GeolocationPermissionPrompt, except
- Remember checkbox is hidden as we don't has this feature in framework now.
- The resource name is appended according the request.
- Remove toast.

BUG: 13699047
Change-Id: I1f3f1908bf9c7131ecf2d060fc79d3e5c8842f94
6 files changed