Merge pull request #1 from cocos2d-html5/v3

V3
comment out terminateProcess avoid kill the process, improve the loadLibrary, only load one times
Merge branch 'v3' into v3_Tencent
issue #1108: use the CCDirector end  to test the restart game
issue #1108:add the restart variable in director
Merge branch 'restartGame' into v3_Tencent
test version ,  can't not restart in second
Merge pull request #3 from jianglong0156/v3_Tencent

V3 tencent