settings: Various cleanups

 * Cleanup display settings ghetto:
   - Move Brightness to the top
   - Replace the single-option menu with a switch in cast screen
   - Create display category
   - Move Cast Screen to higher priority, move down Daydream and Font
   - Create advanced category
   - Relocate advanced stuff to the bottom, including DoubleTap to wake
 * Move gesture settings so it doesn't look like it's part of expanded
   desktop's category
 * Use a seekbar preference to allow setting arbitrary animation scale values

Todo (depend on outstanding draft patches) :

   - Remove Lockscreen wallpaper option from Lockscreen settings
       - Use new ThemeChooser instead
   - Kill Trebuchet sub-settings from Home settings

Change-Id: I4ceaf0dc74e6e044e36cf3652bfc1efb33890380
Automatic translation import

Change-Id: I702090540091dbd04393bf4294dfc2cc0fd3b7cd
Themes: List ThemeSettings as a valid fragment

This fixes a force close in Settings in tablet mode.

Change-Id: I6542feba0d0fa8491ab9e092a90709d1034ffca8
Settings: preferences use keys, not ids

Change-Id: I23fad40f85235db1fd2c5724ba9d3580828b14d7
Settings: modify AOSP RU translation

Changed "data_usage_menu_metered" and "data_usage_metered_title" to
state it configures Mobile hotspots, not something like APNs.

Change-Id: I40db1da7d6f4a801de5a06c6a5790580da080ebd
settings: Remove "mobile plan"

 * Useless menu item.

Change-Id: I0b35017cb9a52600cde5d31065f007210f916a41
Bluetooth: Release pan proxy object while coming out from tethering menu

A case where user is going into tethering menu & coming out repeatedly
(2000 iterations) irrespective of Bluetooth state(ON or OFF). Setting
application get crashed after 1386 iterations. Each time TetherSetting
& BluetoothPan object were leaked, because connection of the pan profile
proxy to the Service was not closed by tetherSetting while coming out
from tethering menu. Releasing the pan proxy object while coming out
from tethering menu to avoid memory/objects leak.

Change-Id: I06a5e1ed37a024695fddb1e95f62b72fd56510d3
CRs-Fixed: 622489
Bluetooth: Ignore the second button if one already pressed

Ignore the second buton if already one button is pressed,
this case comes when user is trying to press the both
cancel and ok for the pairing dialog.

Change-Id: I77516ec59a972b4451bb8cff69645f7b9089497f
CRs-Fixed: 624285
Bluetooth: Increase allowed duration to connect to a profile

This patch increases the duration allowed between the first device
connection attempt (immidiately after bonding) and profile connection
after service discovery from 5 seconds to 30 seconds to allow
HOGP connections for slow connection conditions.

Change-Id: I5b17bd0bd2b560709e6e67e2d83f9bca7ea2509d
CRs-Fixed: 612105