PortalKit: update embeddedTomcat
PortalKit: modify build.js for some error handle