Add validation on java regex before simulation startup Closes #774

Makes sure that Java regex can be compiled before simulation startup.
If a regex is invalid, the simulation isn't launched and the textField containing this regex get a red border.