Add MPI debug code
Merge master into boost-mpi