Added OSX target.

* Added OSX target.
* Removed redundant UIKit import from tests so they're OSX & iOS compatible.
* 100% tests passing on iOS device, emulator and OSX.