Upgrading to gwt-2.7.0

- Making tests pass
- Fixing a couple of issues failing with new RegExp.
- Adding profiles to run tests in prod mode