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.
issue #2404:Modify Deprecated.lua and set platform config
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into deprecatedfunc
issue #2404:Modify a comment
issue #2404:Modify a comment
Removes CC_PROPERTY / CC_SYNTHESIZE from some parts of the code

As agreed previously, CC_PROPERTY_XXX and CC_SYNTHESIZE_XXX should
not be used in the code.
This patch removes some of them. There are still many more to remove
CCAssert -> CCASSERT

and other best pracitces like:

capacity and "index" are ints and not unsigned int (google's recomendation).
 It is easier to detect underflow bugs like this

plus other minor improvements
Fixing complication errors in CCTextureAtlas.cpp and jsb_cocos2dx_auto.cpp.
issue #2404:Modify configs
Merge branch 'deprecatedfunc' of https://github.com/samuele3hu/cocos2d-x; branch 'develop' of https://github.com/cocos2d/cocos2d-x into deprecatedfunc
Merge branch 'openal-deletebuffers' of https://github.com/rafaelx/cocos2d-x into rafaelx-openal-deletebuffers

Conflicts:
	CocosDenshion/include/SimpleAudioEngine.h
	samples/Cpp/TestCpp/Classes/CocosDenshionTest/CocosDenshionTest.cpp
closed #2415: [OpenAL] Adding one line to delete SimpleAudioEngine singleton in SimpleAudioEngine::end().
issue #2415: Formating codes in SimpleAudioEngineOpenAL.cpp.
Merge pull request #3203 from dumganhar/rafaelx-openal-deletebuffers

Merge PR https://github.com/cocos2d/cocos2d-x/pull/3147
Formatting codes with cocos2d-x code style in SimpleAudioEngineOpenAL.cpp.
Merge pull request #3204 from dumganhar/develop

Formatting codes with cocos2d-x code style in SimpleAudioEngineOpenAL.cpp.
Update AUTHORS