Fixes #3894: Move r29643 to v1.7 branch (ensure locality is properly tested)

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

r29643 [[BR]]
We previously weren't checking all the bits in locality to ensure we had a complete match - instead, we would report "local" to the specified level if only one bit matched. Ensure that a est for locality tests local to the specified level by checking that *all* bits match.

cmr=v1.7.4:reviewer=hjelmn:subject=Ensure locality is properly tested
Fixes #3899: Move r29653 to v1.7 branch (btl/scif: do not return resource)

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

r29653 [[BR]]
btl/scif: do not return resource busy if we started a connection attempt.

Resolves a hang when using scif for shared memory transfers. This is a
simple change and doesn't require a review.

cmr=v1.7.4:reviewer=ompi-rm1.7
Fixes #3903: Move r29661 to v1.7 branch (Revise the launch timeout detection)

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

r29661 [[BR]]
Revise the launch timeout detection so we don't mistakenly declare "failed to start". Recognize that timeout is at the per-job level, and define the timeout param as a total value instead of seconds/daemon as it otherwise can get to be an enormous (and useless) number.

Resolves problems in loop_spawn where the timer was incorrectly firing and killing the overall job.

cmr=v1.7.4:reviewer=hjelmn
Fixes #3896: Move CUDA-aware fix for thread support into v1.7

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

r29579 [[BR]]
Fix corner case involving threads and CUDA-aware support.
Fixes #3897: Move r29649 to v1.7 branch (correctly compute usage for dynamic spawns when binding is invoked)

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

r29649 [[BR]]
Correctly compute usage for dynamic spawns when binding is invoked. Ensure we correctly account for existing process usage on each node when computing bindings during dynamic spawns.

cmr=v1.7.4:reviewer=hjelmn:subject=Correctly compute usage for dynamic spawns when binding is invoked
Fixes #3898: Move r29652, r29654 to v1.7 branch

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

r29652 [[BR]]
Set the modex as active before starting it. This resolves a hang in
MPI_Init() on comm-spawned processes.

cmr=v1.7.4:reviewer=rhc

r29654 [[BR]]
Set transfers as active before starting them.

cmr=v1.7.4:ticket=#3898

r29659 [[BR]]
Silence warning

Refs #3898
Fixes #3900: MPI_T comment update

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

r29655 [[BR]]
Add comment: strings in values[] can be free()'d after mca_base_var_enum_create() returns
Fixes #3901: Minor usnic MPI_T updates

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

r29656 [[BR]]
Expand the "btl_usnic" MPI_T enumeration to have strings of the form:

   <usnic device name>,<eth device>,<ip address>/<CIDR prefix>

For example:

   usnic_0,eth4,10.1.0.15/16

This is just handy for mapping the usnic_X device back to the IP
network to which it corresponds.

r29657 [[BR]]
Arrgh -- remove debugging printf.

r29664 [[BR]]
Refs #3901 

Feedback from Dave's review.

r29665 [[BR]]
Refs #3091

Gah!  The "device" variable isn't used at all in this loop (my eye
glossed over the next line and thought that "device" was used in the
free() statement, but it's actually "devices" -- not "device").
Fixes #3887: Please move mofed debian support for OMPI

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

r29615 [[BR]]
packaging: add support for debian + example
unfortunately the debian packaging files should reside in the root folder
and cannot be placed under contrib/dist/... tree.
developed by Aleksey, reviewed by miked
cmr=v1.7.4:reviewer=ompi-gk1.7

r29647 [[BR]]
Implemening Jeffs comments
Refs: #3887 reviewer=ompi-rm1.7

r29650 [[BR]]
Correct location of files