Bluetooth firmware loading improvements

These changes came about in my quest to get bluetooth working with a Wandboard.
e7b19bb is necessary for firmware loading to work at all.
The rest are improvements and fixes to the init handling.