Fixes #4369: Move r31007 to v1.7 branch (osc/rdma: restrict local optimizations to)

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

r31007 [[BR]]
osc/rdma: restrict local optimizations to occur only during an access epoch.

cmr=v1.7.5:reviewer=dgoodell
Fixes #4370: Move r31008 to v1.7 branch (osc/rdma: check for incorrect use)

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

r31008 [[BR]]
osc/rdma: check for incorrect use of the active target interface

This commit resolves a number of crashed discovered my the onesided
tests in MTT. The functions in question were operating on the assumption
the user was calling RMA functions correctly.

cmr=v1.7.5:reviewer=jsquyres
Fixes #4373: Move r31012, r31014 to v1.7 branch (Fix C&P errors in r31012)

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

r31012 [[BR]]
Add an internal ompi error code for RMA sync errors.

Dave Goodell correctly pointed out that it is unusual to return MPI
error classes from internal ompi functions. Correct this in the RMA
case by adding an internal error code to match MPI_ERR_RMA_SYNC.

This does change OMPI_ERR_MAX. I don't think this will cause any
problems with ABI.

cmr=v1.7.5:reviewer=jsquyres

r31014 [[BR]]
Fix C&P errors in r31012

cmr=v1.7.5:ticket=#4373
Fixes #4380: Move r31030 to v1.7 branch (coll/ml: reduce has some issues)

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

r31030 [[BR]]
coll/ml: reduce has some issues when using non-contiguous datatypes. until
these issues are resolved disable coll/ml reduce.

cmr=v1.7.5:reviewer=manjugv