Allow a library to specify that a restart of GF is needed (default is false), and carry out the restart if so specified.
Comment out code that causes deployment to fail with a 'Keystore was tampered with' error under GF4.  Not sure what the removal will break, but not being able to deploy is possibly worse(?).