start adding reference counter to resource management
Revert "start adding reference counter to resource management"

This reverts commit 0769fcc6e8195f07209554b9f79abb2d57f3cf43.
Revert "Revert "start adding reference counter to resource management""

This reverts commit ccedbcbd3098b8778d024de9a179c6f9d6b6a769.
change
Revert "change"

This reverts commit ff25c03d1a3952c73c2b22be0b83a48dc9797280.
add ReferenceCountedPointer
replace texture texture2d texturecube handles
remove unwanted code
added
changes
Revert "changes"

This reverts commit 81f35e1d5395a61e9305eca91e469d6cf5609db8.
fix all suicide behavior
replace shader handle
replace material handle
replace scene node handle
Revert "replace scene node handle"

This reverts commit b6e1900ba7b3fe3261074dc33ffe9f99629ab8fa.
fix crash
Merge branch 'master' of https://github.com/aokman/Erya3D
06e7caf2614e7f683249ea.

Conflicts:
	Engine/Common/ReferenceCounter.cpp
	Engine/Erya3D.vcxproj.filters
	Engine/Graphics/GL/ProgramGLSL.cpp
	Engine/Graphics/GL/Texture2DGL.cpp
	Engine/Graphics/GL/TextureCubeGL.cpp
	Engine/Graphics/GraphicConstants.h
	Engine/Graphics/Sampler2D.cpp
	Engine/Graphics/SamplerCube.cpp
	Engine/Graphics/Shader.h
	Engine/Graphics/Texture.h
	Engine/Platform/Engine.cpp
	Engine/Resource/ContentManager.cpp
	Engine/Resource/ShaderResource.cpp
	Engine/Resource/Texture2DResource.cpp
	Engine/Resource/TextureCubeResource.cpp