emulator: Fix typo in supported command comment
core: Only page device once per connect attempt

In case of EHOSTDOWN/page timeout the code should not proceed with the
next profile as it is very likely it will fail again, moreover the page
timeout is configurable and should be enough for getting a response from
the remote device in a reasonable time.
man: Update bluetoothd manual

This puts manual up-to-date with bluetoothd options.
build: Fix generating bluetoothd manpage

CONFIGDIR was not properly substituted in bluetoothd.8 manpage.
tools: Update rfcomm help

This includes:
remove describtion of non-existing option '-f'
add missing description of '-L' option
add missing long version of '-i' option
rfcomm: Remove bogus manual entry

This was introduced in commit b1b5f09d40 "Include security parameters"
back in 2007. Those options are already descibed few lines below.
tools/hcidump: Fix parsing of Search PDU
plugins: Use open()/read() instead of fopen()/fread() on autopair

open()/read() is more common on BlueZ code. Incidentally, get rid of
this compilation error (using gcc 4.6.3):

plugins/autopair.c: In function ‘autopair_init’:
plugins/autopair.c:154:8: error: ignoring return value of ‘fread’,
declared with attribute warn_unused_result [-Werror=unused-result]
core: Avoid unnecessary gboolean on pincode callback API

Use standard "bool" type instead. Callers in plugins/* are fixed on the
same commit to avoid compilation errors.
tools/mpris-player: Fix append_iter to copy all fields

This makes append_iter to work properly when copying another iter with
more than one field.
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.