FindMPI: Add error logging and minor fixes
This MR makes FindMPI log its errors into CMakeError.log
so that it's easier to debug sanity errors in the case FindMPI
fails to determine working settings or the settings found do not compile.
Additionally, I've corrected some small errors relating to the MPI_Get_library_version
functionality.