OSHMEM: add missing profiling API for shmem_finalize

fixed by Roman, reviewed by Miked
cmr=v1.8.2:reviewer=ompi-rm1.8
OSHMEM: fix error message when aborting on OOM

fixed by Roman, reviewed by Miked

cmr=v1.8.2:reviewer=ompi-rm1.8
Fix the add_proc issue identified by Jeff: the TCP BTL now discard a
peer proc without TCP support instead of completely dropping TCP support for the entire job.

cmr=v1.8.2:reviewer=jsquyres
Correct a misplaced bracket - daemons shouldn't be doing app-related operations

This may need a patch for 1.8.2, but we can try to directly apply it

cmr=v1.8.2:reviewer=hjelmn
configure.ac: s/autogen.sh/autogen.pl/ in some comments
btl/scif: fix hang at shutdown

scif_close is not causing scif_poll in the listening thread to return
as expected. To ensure the thread exits attempt to make a local
connection to wake up the thread before calling pthread_join.

cmr=v1.8.2:reviewer=ggouaillardet
btl/scif: make the exiting member volatile

cmr=v1.8.2:ticket=#4626
Close the incoming socket if we aren't going to accept it

cmr=v1.8.2:reviewer=rhc
Looks like someone missed a '|' in this comparison, so correct it here
Just pick a module to handle the incoming connection if no direct interface is identified. Siegmar hit it because his IP/netmask is disjoint, but a router was able to make the connection.

Refs #4627
opal_free_list: destruct free lists items when destructing the free
list

This commit updates the behavior of opal_free_list_t to match the
behavior of ompi_free_list_t. opal_free_list_t constructed items
placed on the free list but never destructed them.

cmr=v1.8.2:reviewer=jsquyres
opal/event: release the opal event context when closing the event base

This fixes a series of leaks identified by valgrind. Since
opal_event_base_open was creating the event base it follows that
opal_event_base_close should release the event base.

cmr=v1.8.2:reviewer=rhc
comm: fix communicator subsystem leaks

This commit fixes two leaks:

 - We never destructed the attributes on MPI_COMM_WORLD. All other
   communicators that have attributes are released through
   ompi_comm_free which does the attribute destruction. For
   MPI_COMM_WORLD this is now done before the destructor is called.

 - Add missing OBJ_RELEASE for ompi_comm_f_to_c_table.

cmr=v1.8.2:reviewer=jsquyres
allocator/bucket: free all memory associated with a bucket allocator
when it is finalized.

Fixes a leak identified by valgrind.

cmr=v1.8.2:reviewer=jsquyres
pml/ob1: add missing OBJ_DESTRUCT

An OBJ_DESTRUCT was missing for mca_pml_ob1.send_ranges causing a
memory leak. Identified by valgrind.

cmr=v1.8.2:reviewer=jsquyres
Fix bug in r31764

Need to remove the items of the list to avoid an assert in debug builds.

cmr=v1.8.2:ticket=#4628