Fixes #4007: Move r29997 to v1.7 branch (Fix a couple issues with)

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

r29997 [[BR]]
Fix a couple issues with the mca_base_var system:

 * Use ->boolval for booleans when creating a string.
 * Solaris has some issue with the ?: used in one of find functions. Use an if instead.
 * Change all instances of index -> vari to avoid issues with redefining index.

cmr=v1.7.4:reviewer=jsquyres
Fixes #3992: Move r29959 to v1.7 branch (fix tool communications with mpirun)

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

r29959 [[BR]]
Fixes #3963. Fix the tool ess procedure so it opens and selects the OOB framework, and have the OOB TCP module update the route to new connections (the routed modules know what to do). 

Thanks to Dave Love and Ashley Pittman for pointing out the problem.

cmr=v1.7.4:reviewer=jsquyres:subject=Fix tool communications with mpirun


r29970 [[BR]]
Silence warnings that are no longer valid

Refs #3992


r29972 [[BR]]
Tools require their own errmgr and state components so they can handle any errors that occur in, for example, communication .

Refs #3992


r29974 [[BR]]
Further cleanup of orte-ps so it doesn't abort when hitting a stale HNP - only report that event once and just keep working.

Refs #3992


r29975 [[BR]]
Ensure we don't abort if a tool cannot send a message - the orte/util/comm library used by tools to query mpirun knows how to handle this situation.

Refs #3992


r29989 [[BR]]
We stripped the process info packing routine to minimize message size when sending the launch message, but tools still require all the info. So modify the tool-hnp handshake to explicitly add the missing info

Refs #3992