Fixes #4614: Fix memory leak in MPI_Cart_Create/MPI_Graph_create/MPI_Dist_Graph

---svn-pre-commit-ignore-below---

r31716 [[BR]]
Fix memory leak when releasing a communicator created by
MPI_Cart_Create/MPI_Graph_create/MPI_Dist_Graph

Fixes #4581
Fixes #4670: Move r31873 to v1.8 branch (align the default sec credential)

---svn-pre-commit-ignore-below---

r31873 [[BR]]
Turns out that valgrind has issues with strings that don't fall on nice 4-byte alignments with some optimized builds. So make the default security credential a nice 7-characters (so we get 8-bytes with the NULL terminator) to make valgrind shut up.

Thanks to Walter Spector for reporting this.

cmr=v1.8.2:reviewer=jsquyres:subject=align the default sec credential
Fixes #4694: Move r31946 to v1.8 branch (Really should check our own)

---svn-pre-commit-ignore-below---

r31946 [[BR]]
Really should check our own node for oversubscription, not the HNP

cmr=v1.8.2:reviewer=jsquyres
Fixes #4695: Move r31948 to v1.8 branch (We really need to send)

---svn-pre-commit-ignore-below---

r31948 [[BR]]
We really need to send *all* the daemon info whenever the daemon job has changed as new daemons need a full nidmap

cmr=v1.8.2:reviewer=jsquyres
Fixes #4696: Move r31949 to v1.8 branch (Cannot update the proc state)

---svn-pre-commit-ignore-below---

r31949 [[BR]]
Cannot update the proc state prior to activating the state machine as some callback functions need to compare the prior proc state against the new one.

cmr=v1.8.2:reviewer=jsquyres
Fixes #4703: Move r31968 to v1.8 branch (MXM: fix env variable name)

---svn-pre-commit-ignore-below---

r31968 [[BR]]
MXM: fix env variable name to hint for thread usage in mxm

reviewed by MikeD
cmr=v1.8.2:reviewer=ompi-rm1.8
Fixes #4704: Move r31969 to v1.8 branch (OSHMEM: fixes problem with local)

---svn-pre-commit-ignore-below---

r31969 [[BR]]
OSHMEM: fixes problem with local heap2heap copy
    
check for possibility of heap2heap copy was incorrect
in case when shared heaps have different virtual
addresses on same host.

It seems that ibv_exp_reg_mr() on CIB cards may return
different VAs for heap on same node. On CX3 addresses are
the same.

reviewed by miked

cmr=v1.8.2:reviewer=ompi-rm1.8
Fixes #4698: Move r31956 to v1.8 branch (simplify the oob/tcp component)

---svn-pre-commit-ignore-below---

r31956 [[BR]]
Now that the BTLs are moving down to OPAL and becoming available to ORTE, there no longer is a need/desire to push performance in the OOB/TCP component. So we don't need multiple modules driving NICs in parallel, and can drop all the complicated distribution logic. Fall back to the simplified single module model, but retain the ability to run that module in its own progress thread if so directed.

This should eliminate the connectivity issues that have been reported, and will make maintenance of this component much easier.

cmr=v1.8.2:reviewer=jsquyres:subject=simplify the OOB/TCP component


r31971 [[BR]]
The TCP component will have set the hash table entry to NULL, but that doesn't remove the key. So the hash_table retrieval function will return success, but with a NULL pointer - protect against that scenario

Patch provided by Gilles - reviewed by rhc.

RM-approved

cmr=v1.8.2:reviewer=ompi-gk1.8
Ensure we chdir to the session directory if we preload binaries for a relative path to the application so we execute off of the preloaded binary.

Verified by user.

Fixes #4701