Fixed bug on iOS in stopScan that caused an unhandled exception and fixed a problem causing CoreBluetooth APImisuse warning (see issue #32).