Changed the order of function calls within CocosDenshion::SimpleAudioEngine::end()
to first detach the OpenAL source from the buffers so that sound buffers can be successfully deleted afterwards.

Additionally, improved the documentation within the header file a little bit.
issue  #2377:Modify some tolua_*_open functions place and Modify Websocket,OpenGl,Scrollview handlers operation.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into ScriptHandler
issue  #2377:Adjust some function places.
issue  #2377:Del CallFunc and CallFuncN handler operation and Modify LuaWebScoket linux config
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into ScriptHandler
issue  #2377: Modify LuaWebScoket linux compile error
more best practices fixes

- Adds more `const` in getters
- Overriden methods have the `override` keyword
- Reorganizes the structure of the class:
  # creators first, then constructor, destructors, init
  # then overridden methods
  # variables at the end
- removes Hungarian notation from parts of the code
Merge branch 'more_best_practices_fixes' of https://github.com/ricardoquesada/cocos2d-x into ricardoquesada-more_best_practices_fixes

Conflicts:
	cocos2dx/actions/CCActionTiledGrid.h
Merge pull request #3171 from samuele3hu/ScriptHandler

issue #2377:Modify some tolua_*_open functions place and Modify Websocket,OpenGL,ScrollView handlers operation
[AUTO] : updating submodule reference to latest autogenerated bindings
Merge pull request #3188 from CocosRobot/updategeneratedsubmodule_1374141232

[AUTO] : updating submodule reference to latest autogenerated bindings
issue #2404:Move deprecated functions to Deprecated.lua
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into deprecatedfunc
Merge pull request #3187 from dumganhar/ricardoquesada-more_best_practices_fixes

Merge https://github.com/cocos2d/cocos2d-x/pull/3183
Added to various functions a check whether an OpenAL source exists on which OpenAL functions can be called.
Playback of background music starts now with the previously set volume, independent of the OpenAL source state.
Added a delete on the SimpleSoundEngine object within CocosDenshionTest::onExit() so that alutExit() gets called to release allocated resources by OpenAL.
More best practices fixes

- class order fixes
  - static methods (creators) at the beginning
  - then constructors / destructors
  - then init
- more `const` fixes
  - adds some const getters
  - some getters have 2 versions: `const` and no-const version
- renamed CocosDenshion::sharedEngine -> getInstance()
Rename the library file name of uc SDK.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
More getter functions: e.g. MenuItemFont::fontSize --> MenuItemFont::getFontSize