Minor clean up
Fix ProtocolTemplate
remove -feature warnings (implicits and postFix operators)
Add validation on java regex before simulation startup Closes #774