Fixed bug on iOS that happened when writing to a characteristic that do not support write response.
Added onReset method on iOS to do cleanup when the page reloads, any ongoing scan is stopped and conencted devices are disconnected and deallocated.
Android: added native onReset().
Should remove the need for reset-on-reload on the JavaScript side.
Android: in onReset(), if mGatt is null, don't use it.
close(): corrected documentation and function on Android.
rssi: Handle case of double call.
Android: don't call registerReceiver more than once.
Even if initialize() is called more than once.
Fixed bug in iOS plugin that caused an assert to trigger when a characteristic has both write type flags CBCharacteristicWriteWithResponse and CBCharacteristicWriteWithoutResponse set.
Fixed bug on iOS in stopScan that caused an unhandled exception and fixed a problem causing CoreBluetooth APImisuse warning (see issue #32).