Fixed setup & hook scripts for iOS & OSX

Added hooks for emulate and platform_add.
These are the same scripts that are currently used for build and run
Added platform detection to the hook script
Added inkscape path for OSX
Added icon generation for iOS projects
Added platform version detection for iOS web view

Also added some error checking to Android version detection.
Minor tweaks to default css to deal with some issues on iOS.