[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