gatt: Register ATT commands/events handler

This patch registers GAttrib callback to handle later ATT commands
requests and events.
gatt: Support ATT read request

This patch adds support for handling ATT read request PDUs.
FIXME: Investigate if there is another solution
gatt: Add Read By Group Type

This patch adds the initial ATT Read By Group Type operation. This ATT
operation is used by the GATT operation to Discover All Primary
Services.
gatt: Support ATT read by type request

This patch adds support for handling ATT read by type request PDUs.
gatt: Introduce attribute read cb for GATT client

This patch adds the callback function to be called when a GATT client
application reads the attribute value. Its implementation calls
gatt_read_char(), that also handles values that does not fit into a
PDU.
TO SQUASH: Use g_list_find instead of find_custom
gatt: Implement D-Bus ReadValue
core: Add getter and setter for attribute database

The getter has a btd_ prefix so it is clear that even profiles are allowed to
call it. The setter should only be used from the core.

This allows for some simplification of the database management code.
gatt: Check characteristic properties

Verify the characteristic properties before registering the read/write
callbacks.
gatt/gap: Add new file for gatt/gap plugin

This patch adds a new file to implement the gatt/gap plugin based on
the new ATT API. In the future the old implementation must be removed.
gatt/gap: Add profile driver init and remove

This patch adds stubs for probe and remove gatt/gap devices.
gatt/gap: Read Device Name Characteristic

This commit adds logic to discover Device Name Characteristic from
GAP Service, read it and set the btd_device name using the response.
gatt/gap: Read Appearance Characteristic

This commit adds logic to discover Appearance Characteristic from
GAP Service, read it and set the btd_device appearance using the
response.
squash: Remove debug code

Squash to "gatt: Add Read By Group Type"
gatt: Add calling notifiers for Notifications

This patch calls the registered notifiers when ATT Notification is
received for a given attribute. At the moment, <<Client Characteristic
Configuration>> is not being verified.

*** This code is not tested yet.
gatt: Add calling notifiers for Indications

This patch calls the registered notifiers when ATT Indication is
received for a given attribute. At the moment, <<Client Characteristic
Configuration>> is not being verified.

*** This code is not tested yet.
proximity: Add common header for constants

This patch adds a common Proximity Profile header for UUIDs, alert
levels and other possible constants.
proximity: Move common function to proximity.c

This patch moves the function to convert Alert Level from reporter.c
to proximity.c
proximity: Add emitting IAS <<Alert Level>>