merge pull reqeust fixing for iOS7 and Xcode5 into master
LabelTTF vertical alignment fixed on OS X

vertical alignment was broken on OS X.
top and bottom were switched.
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
Fixed javascript constant names auto-generated
Merge branch 'master' of https://github.com/sunzhuoshi/cocos2d-x