Refs #3786

Apply patch-1.diff after review by rhc, plus a few additional cleanups to silence compiler warnings across opal and orte. These two layers now build clean.

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

r28538 [[BR]]
Remove a bunch of dead code: gcc 4.7 warns of set-but-unused
variables. So get rid of them.
Fixes #3672: Move r28682 to v1.7 (topo files for mapping purposes)

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

r28682 [[BR]]
There are cases where we want to use the novm state machine, but the backend node topology differs from that where mpirun is executing. In those cases, we can wind up thinking we are oversubscribed because the head node has fewer cores than the compute nodes.

To resolve this situation, add the ability to specify a backend topology file that mpirun shall use for its mapping operations. Create a new "set_topology" function in opal hwloc to support it.