Deploy a module in test mode.
You pass the JAR file.
Module system figures out the rest (i.e. whether it needs
to be installed, reinstalled, etc.).
The deployment is run synchronously so do not call this
method from a sensitive thread (e.g. event queue), nor
call it with any locks held. Best to call it e.g. from the