Fixed bug in handling of notifications in iOS implementation, added guard against writing to a Client Configuration Descriptor (UUID = 2902).
Improved error handling on iOS and cleaned up code a bit (moved duplicated code to common method).
Updated iOS implementation to handle close and disconnect according to the plugin API specification.
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.