fixes for cocos2dx and Android L
added a global variable to check if layout surface should be refreshed
Merge pull request #1 from spaceinch/ios_8_video_fix

added a global variable to check if layout surface should be refreshed
force variable to be extern, and initialized on .mm file
Merge pull request #2 from spaceinch/ios_8_fix_externvar

force variable to be extern, and initialized on .mm file
Merge branch 'si-2.2.5' of https://github.com/spaceinch/cocos2d-x into v3_migration

Conflicts:
	cocos2dx/platform/android/java/src/org/cocos2dx/lib/Cocos2dxMusic.java
	cocos2dx/platform/ios/EAGLView.h
	cocos2dx/platform/ios/EAGLView.mm