issue #2771: add class PhysicsDebugDraw
issue #2771: rename PhysicsWorld::create() to PhysicsWorld::construct(), fix some bugs
issue #2771: add pointQuery
issue #2771: edit assert message
issue #2771: change pointQuery implements
replaces `delete[]` with `free()` in C-based API

API that returns a newly allocated buffer as an output argument (not return value) are error-prone.

- Users forget to release the newly allocated buffer
- Or the call `delete` instead of `delete[]`

But some of those API need to call `realloc` on the buffer.
But `realloc` is only valid if the buffer was previously allocated with `malloc`.
If a buffer needs to be re-allocated using a C++ API, then `std::vector<char*>` should be used instead...

So, this patch does:

- Migrates the API from  `new []` / `delete[]` to  `malloc()` / `free()`
- Fixes all the memory issues: incorrect deallocs and memory leaks
- Updates the documentation
- And fixes misc issues with the API: removes `cc` from the ZipUtils class.
issue #2771:  add comment and improve API
issue #2771:  add comments
Constructors are protected
More tests converted
More tests working

[x]: Texture2D test working OK
Fix bug: deprecate old interface
Merge branch 'develop' into free_instead_of_delete

# By minggo (12) and others
# Via minggo (18) and others
* develop: (78 commits)
  [AUTO] : updating submodule reference to latest autogenerated bindings
  Update CHANGELOG[ci skip]
  Update AUTHORS [ci skip]
  fix bug: cccolor to jsval function has error in jsb
  [ci skip]
  [ci skip]
  [ci skip]
  [ci skip]
  [ci skip]
  C++11: NULL -> nullptr
  [ci skip]
  Fix: UserDefault::createXMLFile with correct XML definition.
  [ci skip]
  [ci skip]
  [ci skip]
  Fix bug: rename const with under line seperator
  [AUTO] : updating submodule reference to latest autogenerated bindings
  Fix bug: Z fighting on TransitionScenePageTurn
  Fixed bugs
  Modify reader and fixed bugs
  ...

Conflicts:
	cocos/editor-support/cocostudio/CCSGUIReader.cpp
Fix bug: use free() in imageCommon_cpp.h
Fix bug: add android, fix android can not compile
Merge branch 'develop' into constructors_are_protected
fixes Sprite::setTexture()

Sprite::setTexture(std::string&)  works as expected.
It sets the texture rect of the sprite
Adds love to ShaderTest2 test

Improves the code in ShaderTest2
ParticleSystem  uses protected constructors
more protected constructors

Adds protected constructors for:

* ClippingNode
* ParallaxNode
* RenderTexture
* TMXTiledMap