Add luacompile step when compiling for android.
Add script compiling in project compile (for iOS, Mac & Win32).
Optimize the implementation of luacompile, add linux support.
Add js script compiling support in project compile (for iOS, Mac).
Raise error when build failed for iOS/Mac.
Merge pull request #126 from natural-law/script-compile

Add scripts compiling step when building lua/js projects.