Bug-fix: Allow configure to check for cobalt as well.

No reviewer.
Added support for Cobalt to the CHANGES file.

No reviewer.
Upgrade to hwloc-1.6.1rc2.  This version uses libpciaccess instead of
libpci, which works around the GPL license of libpci.

No reviewer.
Merge hydra-specific hwloc patches from
0e24791586e76e97bc533c8c20fdafec9af70a2b.

No reviewer.
Updated the CHANGES file with the hwloc-1.6.2rc1 information.

No reviewer.
Minor cleanups to MCS mutex test

Reviewer: none
Added needed tests based on coverage analysis
Added tests for user-defined error handlers in Fortran
Files that were modified to supprt the tests of user-defined error handlers from Fortran
More files for user error handler tests
Added missing thread safety to Comm_compare

This function was missing thread safety CS_ENTER/EXIT locks.  The global
lock is necessary for this function because it accesses multiple parts
of the comm object, calls several internal routines that assume the
global lock is held, and upates the ref counts on the groups of each
communicator.

Reported by Steve Oyanagi @ Cray.  This closes ticket #1796.

Reviewer: goodell
Fixed several warnings in lockcontention3 test

This patch fixes several warnings when compiling the lockcontention3
test.  PUT_VAL was reduced because the old value overflowed signed
integer comparisons.

Reviewer: none
Cleaned up test compiler warnings

Cleaned up a variety of compiler warnings relating to header files and
other such bugs.  Most of this patch was provided by Jeff Hammond.

Reviewer: none
Temporarily reverted is_gacc_op bugfix

Partially reverted [0b3640682] in preparation for incorporating new
piggybacking infrastructure.  This temporarily re-introduces that bug
and it will be fixed again with the new piggybacking patch.

Reviwer: goodell
Consolidated RMA op finalization code

This patch consolidates the synchronization and tracking of RMA operations into
a single routine that is called whenever we complete an operation.  The only
exception are lock-op-unlock operations that are completed from within the lock
operation processing code.

This code is pretty ugly, but it will get cleaner once packet flags are been
added.

Reviewer: goodell
Converted packet type field to 16-bits

Convert the packet type field from an enum to a uint16.  This change was also
applied to packet types defined by Nemesis.  Downstream netmod developers will
also have to make this change if they defined new packet types.

Reviewer: goodell
Added flags field to RMA op packet headers

Added flags field to RMA operation packets that are sent from origin to target.
This will be used to piggyback RMA synchronization operations.

Reviewer: goodell
Integrated flags into RMA op processing

This change extends RMA op processing to pass around flags as needed.  It
doesn't yet utilize the flags.

Reviewer: goodell
Added flags to MPID_Request

Added a flags field to MPID_Request that we can use to stash flags from
suspended RMA ops and retrieve them later when we complete the operation.

Reviewer: goodell
RMA sync. piggybacking from origin->target

This patch uses packet header flags to piggyback the unlock operation on other
RMA operations.  For most operations, there is no net change.  However, FOP and
GACC, unlock piggybacking was previously not implemented.

Reviewer: goodell