fix make_pair C++11 - use std::pair<,>()
fix implicit conversion from double to uint
enable std=c++0x, since gcc4.6 doesnt support c++11

c++11 is since gcc4.7+, Includes.am
Substitute param with optional variable.
silence expected stric-aliasing warning for this specific case

using dirty magic to do the check, the warning is known to occur there,
and is not a bug/warning.
Merge branch 'master' into c++11-clang-modernizer-lite
important fix: -Wnarrowing, this allows c++0x

fix casting warning/error in swig generated math_py.cpp file, now
c++11 shouldn't fail!

math_py.cpp:6671:47: warning: narrowing conversion of 'self->nta::SparseBinaryMatrix<UI1, UI2>::nCols<unsigned int, unsigned int>()' from 'nta::SparseBinaryMatrix<unsigned int, unsigned int>::nz_index_type {aka unsigned int}' to 'int' inside { } is ill-formed in C++11 [-Wnarrowing]
     int dims[] = { self->nRows(), self->nCols() };
                                               ^
switch gcc/clang specific compile flags

Conflicts:
	build_system/unix/Includes.am
Merge branch 'master' into c++11-clang-modernizer-lite
Merge branch 'master' into c++11-clang-modernizer-lite
README: removed pip hard dependency

with existing nupic-<platform> repos, pip is alternative way to install dependencies.

Ways to set up:
1/ use nupic-linux64 / nupic-darwin64 repos
2/ install all required dependencies by yourself manually
3/ pip install -r external/common/requirements.txt
Fixed bug where certain parameters were being ignored when initialized.  This includes minDistance,
randomSP, and poolPct for FlatSpatialPooler. Flat Spatial Pooler Compatibility test
now runs fine without converting SP's on every iteration.

Added random seed logging in compatibility tests.

Refactored some of the test helper routines to a common support file.

Removed unused call to calculateOverlapPct
Merge branch 'master' of github.com:numenta/nupic into spatial_pooler_debugging
Merge branch 'master' into c++11-clang-modernizer-lite
dummy
Merge branch 'master' of github.com:numenta/nupic into spatial_pooler_debugging
Improved tests and debugging of tests
Merge branch 'master' into c++11-clang-modernizer-lite
Merge pull request #355 from breznak/c++11-clang-modernizer-lite

initial support for C++11 / C++0x, light ver of PR #321
Add links to platform repos in README.