fixed potential crash in CCScheduler::removeHashElement

If the scheduler is the last object to have retained the pElements target and
the targets desctructor calls CCScheduler::unschedule() invalid memory is
accessed as pElement->timers is already freed, but the pElement is not removed
yet.
Therefore the call to target->release() should be made after pElement has been
removed from the hash table
add getIsScissorEnable() and getScissorRect() for CCEGLViewProtocal
change method name from getIsScissorEnable() to isScissorEnable()
Fix the display bug when a scrollView nested in another scrollView
change a method name

change method name from isScissorEnable() to isScissorEnabled() in
class CCEGLViewProtocal
change comment type
Added TestCase for crash in CCScheduler

The code seems to look wrong (and it sure is) however in real-world
applications it might not be that eays to tell who has ownership of the object,
especially if weak references are involved.
Fix CCFileUtils 'createXXXXWithContentsOfFile' path lookup issue
When calling 'CCFileUtils::createCCDictionaryWithContentsOfFile' and 'CCFileUtils::createCCArrayWithContentsOfFile' on iOS/OSX these functions call upon 'CCFileUtils::fullPathForFilename' to resolve the path given into a full path which can be used with system file IO functions. This matches the convention found throughout the cocos2dx library and is expected behaviour. However, on Android and other platforms it appears calling 'CCFileUtils::createCCDictionaryWithContentsOfFile' or 'CCFileUtils:: createCCArrayWithContentsOfFile' does not do the same resolution using 'CCFileUtils::fullPathForFilename' - resulting in file paths which are correctly specified (and which worked on iOS/OSX) to fail to load on these platforms.

Fix this issue by performing a lookup/resolve of the file path using 'CCFileUtils::fullPathForFilename' before doing the low level loading work itself. This brings the behaviour of other platforms in line with iOS and OSX.
Add emulator detection hack to allow running OpenGL ES 2.0 projects in the emulator
android:Add emulator detection and config change to allow running OpenGL ES 2.0 projects in the emulator

Code taken from forum post by Romain TISSERAND
http://www.cocos2d-x.org/boards/6/topics/12563?r=25446#message-25446
Refactoring mainmenu.lua.
[TestLua] The menu item of Tests which is not supported will be disabled.
Merge pull request #2315 from dumganhar/master

[TestLua] The menu item of Tests which is not supported will be disabled.
fixed #2004: Adding UserDefaultTest for TestLua.
Merge pull request #2316 from dumganhar/master

fixed #2004: Adding UserDefaultTest for TestLua.
fixed #2005: Adding CurrentLanguageTest for Testlua.
Merge pull request #2317 from dumganhar/master

fixed #2005: Adding CurrentLanguageTest for Testlua.
Reduce function call in nativeInitBitmapDC to improve performance.
Merge remote-tracking branch 'upstream/master'
Merge pull request #2319 from natural-law/master

fixed #1471: Plugin system design.