CocoaPods and build.sh updates

- Updated podspec to support both iOS & OSX
- `clean` now removes all non git-versioned files (except `core/`)
- added `browser` target
- added `deploy` target
- added `pod-deploy` target
ok, using temporary directory now (through `mktemp`)