mostly compiles on osx now
fixed iphone/osx check for macos sdk >=10.6
precision mediump float only on gl es2
build on non-opengles
osx test
moved out ios
update doc
Merge pull request #1 from dannydulai/master

osx compilation