Fixed #5742: Support remote image in cc._imgLoader and cc.textureCache.addImage

Fixed #5760: Improve templates HelloWorld project
Issue #5781: Clean up game start up code