add adhoc to cocos and lua
Merge commit '39067c06b0c90cef7a11b4ff88de975abe407ffe' into gles20