[refactor] remove C++, add autotools, pkg-config
This patch cleans up the code, use better names for the headers, remove the last bits of C++ and add autotools to compile the library.
This patch also splits the PMPI library into a separate .so, to make it easier to only deal with the core downstream API.