Adding iOS travis support, not finished.
Updating file mode. +x
Android build uses linux as host. And a fix in generate-jsbindings.sh.
Android is built on Ubuntu host.
Updating generate-jsbindings.sh, android is built on linux host.
Merge pull request #2600 from dumganhar/mac-travis-support

issue #2105: Adding iOS travis support, not finished.