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 #2404:Move deprecated functions to Deprecated.lua
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into deprecatedfunc
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()
More getter functions: e.g. MenuItemFont::fontSize --> MenuItemFont::getFontSize
Merge pull request #3193 from dumganhar/more-getter

More getter functions: e.g. MenuItemFont::fontSize --> MenuItemFont::getFontSize
[AUTO] : updating submodule reference to latest autogenerated bindings
Merge pull request #3194 from CocosRobot/updategeneratedsubmodule_1374205846

[ci skip][AUTO] : updating submodule reference to latest autogenerated bindings
issue #2404: return nullptr in Clonable::copy().
Merge pull request #3195 from dumganhar/iss2404-deprecated

issue 2404: return nullptr in Clonable::copy().
Merge branch 'more_more_best_practices_fixes' of https://github.com/ricardoquesada/cocos2d-x into ricardoquesada-more_more_best_practices_fixes
issue #2407: SimpleAudioEngine::sharedEngine --> SimpleAudioEngine::getInstance().
issue #2412:remove platform.cpp/.h
issue #2412:remove blackberry and marmalade port because they don't support c++11
[Tizen] Fix compile error.
- Tizen SDK doesn't support override keyword yet.
- add class keyword before friend keyword.
issue #2404:Modify Deprecated.lua and set platform config
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into deprecatedfunc
issue #2407: more best practices fixes, more getter and const..
issue #2407: Minor fix in CCTMXLayer.h