Force Maven build failure when compress / envjs fails

The changes will force Maven build failure in two scenarios, when the using the "-e" argument. 

1. When the local closure compiler runs into an error, e.g. trailing comma. Then remove the tmp-file and throw an js error. 

2. When env.js runs into an script loading error. Make use of an variable to determine if the scriptLoadError callback was triggered.