Use round() instead of ceil() in calculation of a2dp vol slider position

The avrcp MESSAGE_VOLUME_CHANGED requests volumes in the range 0-127. In
convertToAudioStreamVolume() this value is scaled to a (typically much
smaller, e.g. 0-15) integer value representing the volume slider step to
be presented in the UI. Depending on the resolution in the volume
requests from the a2dp device and the resolution of the UI volume
slider, some of the requested volumes might be mapped onto the same
UI slider positions. If ceil() is exchanged for round() in
convertToAudioStreamVolume() the problem with double mapped volumes
vanishes in most realistic cases.

Change-Id: I89d9ac4b8c330fd4fd2a02984bd628961f2cb035
DO NOT MERGE BLE peripheral mode (2/4): Gatt Service Change.

Add advertising data to Gatt Service/

Cherry picking ble advertising changes from master to KLP MR2.
b/13137996

Change-Id: I0ea7df8c159ad388d8e58768c49e785e9a4694bb

Conflicts:

	src/com/android/bluetooth/btservice/AdapterService.java
	src/com/android/bluetooth/gatt/GattService.java
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_Bluetooth into HEAD

Conflicts:
	jni/com_android_bluetooth_gatt.cpp
	src/com/android/bluetooth/btservice/AdapterService.java
	src/com/android/bluetooth/gatt/GattService.java

Change-Id: I7f691ea0e3d072e3afda12df14b55c5d921d3ca0
Fix GattService

Change-Id: I9abcc1e05b2fa5bcbac7108e0fe18f1f0da4bae9