core: Remove redundant mgmt_unregister_all call (handled by unref)
core: Add initial mgmt version reading to adapter.c
core: Add initial mgmt_read_index_list support to adapter.c
core: Add adapter.c stubs for index added/removed events
core: Use btohs when special alignment handling is not needed
attrib-server: Fix invalid device access

When the device is not found, the channel attach must fail.
core: Replace calls to g_queue_free_full function

The function g_queue_free_full is available only from GLib 2.32.
If BlueZ has to build against GLib 2.28, as stated in the configure.ac,
this patch replaces the calls to g_queue_free_full in the "core" BlueZ module
with its body, taken from the sources of GLib 2.32.
AVCTP: Replace calls to g_queue_free_full function

The function g_queue_free_full is available only from GLib 2.32.
If BlueZ has to build against GLib 2.28, as stated in the configure.ac,
this patch replaces the calls to g_queue_free_full in the AVTCP module
with its body, taken from the sources of GLib 2.32.
unit: Add simpler mgmt unit test utility
core: Avoid using main_opts structure inside SDP service handling
core: Reset access and service database pointers on shutdown
unit: Add tool for testing the SDP protocol PDUs
build: Do not use deprecated AM_CONFIG_HEADER

The long-obsoleted AM_CONFIG_HEADER macro was removed in automake 1.13.
Use AC_CONFIG_HEADERS instead.
gdbus: Simplify generated introspection

The generated introspection is not supposed to be read as is by human,
so there's no point in printing the indentation or writing more code to
use auto-close tags.

If it's desired to read the raw xml file, user can always use other
tools to transform the output such as "xmllint --format".

This also fixes a missing </property> when property is deprecated.
gdbus: Don't include just added interfaces in GetManagedObjects

If we received a call to ObjectManager.GetManagedObject we should not
include in the response the interfaces in data->added. This is because
it's not guaranteed that those interfaces will trigger an
InterfacesAdded signal, which is the case if the interface is removed in
the same mainloop iteration.
core: Add index parameter to mgmt_request_func_t callback
tools: Update mgmt-tester to use the new mgmt_send API
core: Update adapter.c code to match the new mgmt_send API
core: Add basic mgmt_read_info support to adapter.c
core: Add proper error status checks for mgmt commands in adapter.c