publish脚本支持Java 8

微调了ClosureCompiler的testJava()方法，hardcode支持Java 8平台
Merge pull request #41 from yingnansong/patch-1

egret publish脚本支持Java 8