Add support for OS X

Add support for Mac OS X by conditionally including CoreBluetooth (for iOS) or IOBluetooth (for OSX) and only using UIAlertView for iOS.