Fixes #4467: Move r31257 to v1.8 branch (Do not include inttypes.h directly)

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

GK note: ompi/mca/bcol/iboffload and ompi/mca/common/ofacm do not
exist in the v1.8 tree, so those parts of the merge were skipped.

r31257 [[BR]]
Do not include inttypes.h directly in Open MPI. Use opal_stdint.h instead.

This commit should finish the work started for #869. Closing that ticket
with this commit.

Closes #869

cmr=v1.8.1:reviewer=jsquyres
Fixes #4486: Move r31306 to v1.8 branch (oshmem: use correct define name)

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

r31306 [[BR]]
oshmem: use correct define name

fixed by Roman, reviewed by Mike

cmr=v1.8.1:reviewer=ompi-rm1.8
Fixes #4491: Move r31309 to v1.8 branch (silence coverity reported warnings)

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

r31309 [[BR]]
This commit fixes some of the Coverity reported warnings. I addressed
some of the collective modules, the shared memory and the profiling
interface. I left out VT, dynamic fcoll and seq rmaps.

cmr=v1.8.1:reviewer=jsquyres:subject=silence Coverity reported warnings
Fixes #4495: Move r31330 to v1.8 branch (OSHMEM: add support for profiling)
Fixes #4496: Move r31331 to v1.8 branch (OSHMEM: usability fix for 32bit)

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

r31330 [[BR]]
OSHMEM: add support for profiling API

use weak symbols, based on http://www.open-mpi.org/community/lists/devel/2014/03/14429.php
fixed by Roman, reviewed by Igor/Miked

cmr=v1.8.1:reviewer=ompi-rm1.8

r31331 [[BR]]
OSHMEM: usability fix for 32bit systems

set default memheap start address to use one returned from memallocator
on 32bit system kernel may have issue because of this:

 CONFIG_STRICT_DEVMEM kernel option which "prevents user space access to physical memory above 1MB"

fixed by Roman, reviewed by Igor/Miked

cmr=v1.8.1:reviewer=ompi-rm1.8

r31334 [[BR]]
OSHMEM: fix profiling API compilation

Refs #4495

r31336 [[BR]]
oshmem profiling svn:ingore update
Fixes #4497: Move r31332 to v1.8 branch (add missing portals4 files)

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

r31332 [[BR]]
Add missing files - thanks to Mr. Anonymous for reporting them as missing from the 1.8 tarball

cmr=v1.8.1:reviewer=jsquyres:subject=add missing portals4 files


r31338 [[BR]]
Correct typo in r31332, mtl_portals_enpoint.h -> mtl_portals_endpoint.h
Fixes #4502: Move r31347 to v1.8 branch (Correctly fix the ignore properties)

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

r31347 [[BR]]
Correctly fix the ignore properties

cmr=v1.8.1:reviewer=ompi-gk1.8