Detect that we explicitly call "srun". If PMI is used in this case - we deal with internal PMI and there is no need to shut it down.
We need to shutdown only for SLURM PMI where we can't control all processes (srun for example), int this case we call program like this:
$ srun dmtcp_launch --rm <other-dmtcp-opts> ./mpi-application
So we call srun implicitly and the flag won't be up.
[RM plugin] add --explicit-srun flag to "srun dmtcp_launch ..." command.
Merge pull request #8 from artpol84/master

Fix PMI shutdown problem with Hydra PMI