Added support for emulated BLE devices.

Changed emulator structures to allow connect calls to allocate emulator devices based on names instead of handles.