Disable Bluetooth at shutdown if we enabled it
Control of the Bluetooth adapter is now encapsulated in the Bluetooth plugin. The UI uses events to ask the plugin to enable or disable the adapter, and the plugin keeps track of whether we enabled the adapter, and if so, disables it at shutdown.
The main user-visible change is that if we enable the adapter to add a contact, we disable it again at shutdown.
Partly addresses #299.