Use duplicate of MPI communicator, fix bugs

 - create duplicate of application MPI communicator as required by MPI
 - fix segfaults in parallel tests
Merge pull request #59 from ComputationalRadiationPhysics/mpi-dup

Use duplicate of MPI communicator, fix bugs