Fixes #3347: Move MCA updates to 1.7 branch (rollup)

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

r27437 [[BR]]
remove unused, deprecated function opal_cmd_line_make_opt

r28220 [[BR]]
ompi/include: Remove Makefile.include which is a duplicate of Makefile.am. This will make ompi consistent with opal and orte.

r28236 [[BR]]
MCA/base: Add new MCA variable system

Features:
 - Support for an override parameter file (openmpi-mca-param-override.conf).
   Variable values in this file can not be overridden by any file or environment
   value.
 - Support for boolean, unsigned, and unsigned long long variables.
 - Support for true/false values.
 - Support for enumerations on integer variables.
 - Support for MPIT scope, verbosity, and binding.
 - Support for command line source.
 - Support for setting variable source via the environment using
   OMPI_MCA_SOURCE_<var name>=source (either command or file:filename)
 - Cleaner API.
 - Support for variable groups (equivalent to MPIT categories).

Notes:
 - Variables must be created with a backing store (char **, int *, or bool *)
   that must live at least as long as the variable.
 - Creating a variable with the MCA_BASE_VAR_FLAG_SETTABLE enables the use of
   mca_base_var_set_value() to change the value.
 - String values are duplicated when the variable is registered. It is up to
   the caller to free the original value if necessary. The new value will be
   freed by the mca_base_var system and must not be freed by the user.
 - Variables with constant scope may not be settable.
 - Variable groups (and all associated variables) are deregistered when the
   component is closed or the component repository item is freed. This
   prevents a segmentation fault from accessing a variable after its component
   is unloaded.
 - After some discussion we decided we should remove the automatic registration
   of component priority variables. Few component actually made use of this
   feature.
 - The enumerator interface was updated to be general enough to handle
   future uses of the interface.
 - The code to generate ompi_info output has been moved into the MCA variable
   system. See mca_base_var_dump().

opal: update core and components to mca_base_var system
orte: update core and components to mca_base_var system
ompi: update core and components to mca_base_var system

This commit also modifies the rmaps framework. The following variables were
moved from ppr and lama: rmaps_base_pernode, rmaps_base_n_pernode,
rmaps_base_n_persocket. Both lama and ppr create synonyms for these variables.

r28237 [[BR]]
Introduce the MCA framework system. This formalizes the interface frameworks must provide.

Other changes:
 - Added a flag to the MCA variable system to indicate a variable should go away
   when its group does. Both mca_base_framework_var_register() and
   mca_base_component_var_register() set this flag.

Notes:
 - mca_base_components_open is deprecated. It will be removed in a future commit.
 - All frameworks should use MCA_BASE_FRAMEWORK_DECLARE to declare their
   framework structure.
 - All calls to framework open/close functions should be changed to use the
   mca_base_framework_* functions.
 - Instead of special-casing installdirs a flag was added to prevent calling
   into the variable system when opening a framework.
 - Ralph: Clarify the functional definition of the "register" function in the
   MCA framework object - it had the same name as another function that does a
   totally different thing.
 - As per discussion with Ralph the behavior of mca_base_framework_register()
   is to always call mca_base_framework_components_register() if the framework's
   register function was successful. This removed the need for frameworks to
   have to call this function directly.

r28238 [[BR]]
Automatically generate a list of installed frameworks in project/include/project/frameworks.h

r28239 [[BR]]
Update OPAL frameworks to use the MCA framework system.

r28240 [[BR]]
Update ORTE frameworks to use the MCA framework system.

r28241 [[BR]]
Update OMPI frameworks to use the MCA framework system.

Notes:
  - This commit also eliminates the need for an available components list in use
    in several frameworks. None of the code in question was making use of the
    priority field of the priority component list item so these extra lists were
    removed.
  - Cleaned up selection code in several frameworks to sort lists using opal_list_sort.
  - Cleans up the ompi/orte-info functions. Expose the functions that construct the
    list of params so they can be used elsewhere.

patches for mtl/portals4 from brian

missed a few output variables in openib

r28242 [[BR]]
Now that the entire codebase has been updated to use the MCA framework
system remove the last calls to the MCA parameter system.

r28243 [[BR]]
Update ignores

r28244 [[BR]]
Silence warnings

r28245 [[BR]]
Fix non-updated opal_output channel

r28246 [[BR]]
Update ignores

r28247 [[BR]]
Add missing static declaration

r28248 [[BR]]
de-deprecate mca_base_param_init mca_base_param_finalize as they will be needed until the mca_base_param shim layer goes away

r28249 [[BR]]
Silence warning

r28251 [[BR]]
Fix verbosity setting

r28253 [[BR]]
Swap the open and register.

r28280 [[BR]]
bcol/iboffload: fix errors from param -> var updates

r28281 [[BR]]
bcol/iboffload: fix more errors from param -> var updates

r28283 [[BR]]
bcol/iboffload: fix still more errors from param -> var updates

r28284 [[BR]]
sbgp/ibnet: fix param -> var update errors

r28300 [[BR]]
Fix the parameter handling so no-tree-spawn isn't getting reversed

r28321 [[BR]]
Fix some --without-hwloc compile errors.  Also remove one
assigned-but-not-used variable assignment.

r28322 [[BR]]
Stop complaining about an overwritten default parameter.

r28328 [[BR]]
make ompi_info print out mpi_ variables

r28346 [[BR]]
Fix some compile errors in CUDA-aware code that has crept in. 

r28376 [[BR]]
Per RFC add initial support for the MPI 3.0 tools interface.

Current MPI_T support:
  - Full cvar interface.
  - Full categories interface.
  - No pvar support at this time.


r28377 [[BR]]
Add file missing from last commit

r28379 [[BR]]
Add missing file

r28388 [[BR]]
clean up some ompi_info code

r28389 [[BR]]
fix typo in opal_info_show_component_version and clean up more from ompi_info

r28390 [[BR]]
fix typo

r28391 [[BR]]
Cleanup the verbose output channel name

r28394 [[BR]]
Per Geoffroy Vallee, use the OPAL constant

r28396 [[BR]]
Fix --without-hwloc

r28407 [[BR]]
Fix an obvious typo - it was set to default to true when instantiated.


r28414 [[BR]]
Fix BTL_VERBOSE - when the MCA param change was committed, it left the base verbosity variable declared so things compiled. Sadly, the verbosity was now being set to a new variable, so debug never was output.


r28421 [[BR]]
Fix typo in check for mpi_leave_pinned vs mpi_leave_pinned_pipeline.


r28429 [[BR]]
Use the _SAFE list traversal macro so that we can remove each item
from the list (just for good measure), and then free() it (without
using _SAFE, we were accessing memory that was just free()'d to get to
the next item).  Also be a little more thorough -- DESTRUCT the list
when we're all done.

r28456 [[BR]]
Updates to autogen.pl:
+  Add ifdef guard to project's autogenerated "frameworks.h" header file,
   e.g., "opal/inlude/opal/frameworks.h" would have "OPAL_FRAMEWORKS_H".

+ Avoid adding "ignored" frameworks to the autogenerated "frameworks.h"
  header file.

+ Avoid adding non-MCA projects to the autogenerated 'mca_project_list',
  which maintains existing support for "projects" with new MCA framework 
  enhancements.  Moves this down to mca_run_global().

+ Add small loop at end to add projects with a "config/" subdir
  to the list of includes for 'autoreconf'.

r28466 [[BR]]
+ revert part of changeset r28456 that slighly modified behavior of 
  ".ompi_ignore" to ignore entire framework and avoided adding "ignored"
  frameworks to the autogenerated "frameworks.h" header file.

  This change restores previous behavior. 

r28481 [[BR]]
Fix the verbosity of yet another framework...sigh.


r28714 [[BR]]
We really should be closing the event framework when told to do so.

cmr:v1.7.3,reviewer=jsquyres
Minor cleanup