If something goes wrong in add_procs, let's not segfault during finalize
Correct the cutoff point for full modex operation as it is based on the number of nodes in the system, not the number of procs in the signature.
find_last_path_separator returns NULL if the filename doesn't contain a path separator in it - i.e., it's just a local file. So protect the loop to avoid a segfault

cmr=v1.8.3:reviewer=rolfv
Bring over changes to MXM from pmix branch:

MTL MXM: establish endpoint connection on the first communication when direct_modex used
We are failing to use the system dirname function because we are not correctly flagging that we found it. Modify opal_search_libs_core to set an "opal_have_foo" flag to indicate that we found the specified function, and then modify the have_dirname check to look for it.

cmr=v1.8.3:reviewer=jsquyres
oshmem: silence warning

ensure OSHMEM_PROFILING is #define'd even if profiling is not supported

cmr=v1.8.3:reviewer=miked
fix handling of OPAL_DSTORE_LOCALITY and ref cnt
Use the accessor function to get the jobid and vpid
Bring over some updates from the PMIx branch - mostly just minor cleanups. Make the direct grpcomm component no longer be the default. For now, we seem to be having problems with non-blocking fence operations, so make them not be the default under any scenario (e.g., when sm is the only btl in operation).
use the fbtl return value as originally intended, namely to retrieve the
number of bytes written and read. Status contains now the actual number of
bytes written for individual operations. For collective operations, this is
unfortunately not possible.
Rename an HWLOC member of a union in the diff.h file to avoid a naming conflict with an external library - it isn't that HWLOC did something wrong, but rather that the name being used is so close to a type name that other folks has a tendency to #define it as well. We could argue with those folks that what they are doing is incorrect, but it is just easier to make a slight change and resolve the problem.
Bring over a slight modification to the opal_init_test routine
resetting the counter for the iov array has to happen outside of the if statement.
Merge branch 'master' of github.com:open-mpi/ompi-svn-mirror
Ckpt - mapping now okay, but post-map state machine not right