Fixed #5797: Added a test for remote image loading

and Fixed #5870: Add one parameter support for cc.Texture2D#setTexParameters