Template fix for iOS Template.
Fix a bug (https://github.com/cocos2d/cocos2d-x/pull/2902)
android target 17 --> 8.
[Windows] multi-platform-lua fix.
Merge pull request #2903 from dumganhar/master

Template fixes for iOS and Windows
Merge branch 'master' into develop

Conflicts:
	extensions/cocos-ext.h
Merge pull request #2909 from dumganhar/develop

Sync with master branch