Bluetooth: Add SDK apis for Wipower and Peripheral feature

changes needed for Wipower and Periferal features.

CRs-fixed: 587811

Change-Id: Ibe73124daf78c79498fd1a6cbbcd75a88006c688
Bluetooth: Added new key to store last connected A2dp Sep type

Changes made to add new key and API to store, retrieve the last
connected A2dp Sep type using Content Resolver.

CRs-fixed: 599358
Change-Id: I2648603cc456921ec1896fb498b602416bd79e72
Bluetooth: Fix for FileDescriptor leakage causing ANR

Fix to close the native fds gracefully. detachFD has been removed
in order to close the native fds

Change-Id: I6afca60bcf6adc82ad6a63d8706267d8ed3bd579
CRs-fixed: 623575
Exposes BLE Connection update API to upper layers

Provides frameworks API for BLE connection update
to upper layers.

CRs-Fixed: 634477
Change-Id: Iaf2bccdb0d3c810abbb66d53940cac541af2d35f
Sends intent for BLE Connection update event

Provides support for sending BLE Connection
parameters update event from the stack to
the upper layer.

CRs-Fixed: 634464
Change-Id: I4c3e9b21dca6cec893a79d846cdd2d11dafa950e
Add Support for AVRCP Controller Feature

    - Provide support for AVRCP Controller CAT 1 and CAT 2
    passthrough commands.

CRs-Fixed: 633708
Change-Id: Iefbb7fcd6273c49dc8a305b7a25ec6e94c60a5a9
Bluetooth: Adds check to verify Bluetooth adapter state

This checks whether bluetooth is turned ON or not in
BLE stop scan process. BLE scan apis are called from applications
so need to check if BT adapter state is ON to avoid Bluetooth
crash

Change-Id: Ifc472be9b3f8baf978d6cdca2e4743a75b951635
CRs-Fixed: 634617
BT: HF: Control verbose logging at runtime.

Verbose logging in BluetoothHeadset can be
controlled from adb shell.

Change-Id: If63974402a4fc91065c8007a224388af12f49cf7
CRs-Fixed: 601899
AGPS Changes

AndroidOpenSourceXperia/android_frameworks_base@c279aa5
AndroidOpenSourceXperia/android_frameworks_base@82a988d

Change-Id: I1c44336ca83338980f2e3e00c2ccca1df929bde9