Fixes #4142: Move r30339 to v1.7

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

r30339 [[BR]]
Only provide OPAL_THREAD_ADD64 if we have 64 bit atomics
Fixes #4146: Move r30341 to v1.7 branch (HCOLL: many fixes)

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

r30341 [[BR]]
HCOLL: many fixes

Adds coll_hcoll_np mca parameter similar to that of fca component (defaults to 32). Those who use hcoll be aware that from now on the communicators less than 32 procs will run w/o hcoll by default. - Resolves fallback issue in case libhcoll runs out of allowed contexts. The solution is moving hcoll_context_create from comm_enable to comm_query. Shortly, comm_enable should never return OMPI_ERROR in the coll component with highest priority (hcoll). Otherwise the ompi coll_base_select will unselect the coll funtion pointers and module references leaving the communicator w/o coll pointer. This will cause the fail. Same behavior can be reproduced even with tuned if one would hardcore some "return OMPI_ERROR" into it's module_enable funtion. - Additionally, removed all the dead code under #if 0; removed unused variables (path for library, active_modules list) and classes (module list wrapper)

Fixed by Val, Reviewed by Devendar/Josh/Miked

cmr=v1.7.4:reviewer=ompi-rm1.7
Fixes #4150: Move r30348 to v1.7 branch (fix mips assembly)

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

r30348 [[BR]]
Apply a patch provided by Paul Hargrove back in Jan 2013 that fixes MIPS assembly issues. This patch was originally reviewed and RM-approved to go into the 1.6 branch (which never happened for logistical reasons), and subsequently the trunk patch was provided. Paul has verified the patch and its application to 1.7.4, so we will consider it reviewed for that purpose.

cmr=v1.7.4:reviewer=ompi-rm1.7:subject=Fix MIPS assembly