[bluetooth] keep BT state when calling getDefaultAdapter() API

Bluetooth-frwk has been adapted to allow getting adapter properties
even if bluetooth adapter is powered off.

So modify getDefaultAdapter() API logic in order to be synchronous.

Handle bonded devices in order to fill known_devices array in javascript
once bluetooth is enabled.

relates to TC-2024

Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Merge pull request #419 from eurogiciel-oss/keep_adapter_state

[bluetooth] keep BT state when calling getDefaultAdapter() API