lib: Fix two size constants

Fixes the value of RESET_FAILED_CONTACT_COUNTER_RP_SIZE and
RESET_FAILED_CONTACT_COUNTER_RP_SIZE macros to respect the
associated struct.
adapter: fix setting of discoverable timeout

The mgmt_cp_set_discoverable struct was getting reset for no reason after
we set up the discoverable timeout value.
adapter: remove unused toggle_discoverable
adapter: rename discovery_client to watch_client

Rename to a more generic name since we will have different uses for this.
adapter: rename compare_discovery_sender

The new name "compare_sender" is more generic and will be used for more
than one purpose.
emulator: Fix uninitialised memory usage on inquiry

This happens when using "btvirt -l2" and running "discoverable on" on
hci1 and "scan on" on hci0 using bluetoothctl:

==1870== Syscall param write(buf) points to uninitialised byte(s)
==1870==    at 0x4114443: __write_nocancel (syscall-template.S:82)
==1870==    by 0x804B503: send_packet (btdev.c:478)
==1870==    by 0x804B599: send_event (btdev.c:503)
==1870==    by 0x804B8C0: inquiry_complete (btdev.c:589)
==1870==    by 0x804C538: default_cmd (btdev.c:881)
==1870==    by 0x804E5DE: process_cmd (btdev.c:1559)
==1870==    by 0x804E646: btdev_receive_h4 (btdev.c:1577)
==1870==    by 0x804A487: vhci_read_callback (vhci.c:82)
==1870==    by 0x804923E: mainloop_run (mainloop.c:142)
==1870==    by 0x8048FD4: main (main.c:145)
==1870==  Address 0x41e4d0f is 15 bytes inside a block of size 258
alloc'd
==1870==    at 0x402B56C: malloc (vg_replace_malloc.c:270)
==1870==    by 0x804B531: send_event (btdev.c:490)
==1870==    by 0x804B8C0: inquiry_complete (btdev.c:589)
==1870==    by 0x804C538: default_cmd (btdev.c:881)
==1870==    by 0x804E5DE: process_cmd (btdev.c:1559)
==1870==    by 0x804E646: btdev_receive_h4 (btdev.c:1577)
==1870==    by 0x804A487: vhci_read_callback (vhci.c:82)
==1870==    by 0x804923E: mainloop_run (mainloop.c:142)
==1870==    by 0x8048FD4: main (main.c:145)
==1870==
emulator: Fix Remote Name Request Cancel command complete

The Command Complete event for this HCI command contains two parameters,
status and bd_addr.
tools/mpris-player: Fix crash when forwarding player message

The iterator to which the message should be copied to should be the copy
message not the original message.
audio/player: Split item creation

This split item creation into two functions, media_player_create_folder
for folders and media_player_create_item for regular items.
audio/AVRCP: Add browsed flag to player

This flag indicates if the player is browsed and are checked to avoid
setting the same player as browsed multiple times.
audio/AVRCP: Add support for GetFolderItems command

This adds support for GetFolderItems command via player callback.
audio/player: Add implementation of MediaFolder.ListItems
audio/player: Add support for setting current Item object

This introduces media_player_set_playlist_item which is used when the
current item UID is known, with this the application can tell what
is the current item in the playlist.
audio/player: Add function media_item_set_playable
audio/player: Add support for MediaItem.Metadata property
audio/AVRCP: Add support for ChangePath command

This adds support for ChangePath command via player callback.
audio/player: Add implementation of MediaFolder.ChangeFolder
audio/AVRCP: Add support for PlayItem command

This adds support for PlayItem command via player callback.
audio/player: Add implementation of MediaItem.Play
audio/AVRCP: Add support for AddToNowPlaying command

This adds support for AddToNowPlaying command via player callback.