port ios library to os x library

I failed to bundle OS X demo app with iOS demo due to this error [-fobj-arc is not supported on platforms using the legacy runtime](http://www.cocoanetics.com/2013/10/fobj-arc-is-not-supported-on-platforms-using-the-legacy-runtime/). 
So I tested OS X library with a separate OS X demo app and works. But seems `[imageView layer].magnificationFilter = kCAFilterNearest;` not working on OS X even if I set image scaling to the NSImageView. It works on iOS. I will find this out in future if I have enough time.
![fd26065c-520d-4632-bb76-d2f7bff782bd](https://cloud.githubusercontent.com/assets/4608342/5280709/b5ade364-7b2f-11e4-8757-614e3b951411.jpg)
Remember to update this repo's README.md file and describe with OS X support!
Thanks!