Bluetooth: Handle BT state change

Add foreground flag to state change intent. Fix for few profiles
not syncing with the BT adapter state in multiple BT on/off test
case.

CRs-fixed: 709335

Change-Id: Ice042a21f08566cadc9540aa75cde726b2e86575