Android: printStackTrace() for all exceptions.
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).