Advance MPI support

* Have extra unittest for MPI
* Test succeeds with mpich2 on Ubuntu 12.04
* #ifdef all MPI stuff
Re-add -Werror
Guard tests with MPI #ifdef
Fix wrong type in printf symbol
Fix debug output in test