finish linux,ios,mac,android,tizen

1. This PR does a very big refactor. Now only one script is needed . All the platform dependent values are written in config files.  Each platform has one config file.

2. The usage of script is also unified.

```
./build.sh -p=[platform name] --libs=[library names] --arch=[arch names] --mode=[debug or release]
```

3. There are still a little hardcoded values exists. I will refactor it later.

Document is also updated in the PR.

Please help me to test the script, thanks.