fix make_pair C++11 - use std::pair<,>()
fix implicit conversion from double to uint
enable std=c++11 by default

in Includes.am
use pair<>() instead of typed make_pair<>()

typed make_pair<>() does not make sense
fix: include stddef.h so size_t is defined

..had to fix manually
fix: include Log.hpp to make NTA_THROW known

fix for clang-modernize
decrease to std=c++0x (from c++11) since gcc4.6 doesnt support it

c++11 is since gcc4.7+
fix: use namespace nta/utils, using std

to avoid weird std::swap() -- unknown namespace?? :P
fix nta::UInt32 causing problems in namespace nta

undefined nta, so #include nta/types/types.hpp where defined
fix: include for is_subsequence_of
fix: include for size_t
fix: unknown macro ITERATE_ON_ALL_ROWS
fix: include for Log2
fix: include stddef.h for size_t
fix: include for istream ostream
include Log.h for NTA_CHECK macros
fix for size_t
fix: include for free()
fix include math.h for exp()
C++11: migrate .cpp to c++11, using clang-modernize

applied automaded code migration

the command used:
 clang-modernize -exclude external/,py26,/lib64,/home/marek/nta/eng/ -final-syntax-check -for-compilers=gcc-4.6,clang-3.2 -risk=reasonable -summary  -loop-convert -pass-by-value -replace-auto_ptr -use-auto -use-nullptr -override-macros `git ls-files '*.[c]pp'` -- -std=c++11 -I.  -I/home/marek/devel/nupic -I/home/marek/devel/nupic/external/common/include -I/home/marek/devel/nupic/external/linux64/include -fvisibility=hidden -DNTA_INTERNAL   -m64 -fPIC -DPIC -DNTA_PLATFORM_linux64 -Wall -Wreturn-type -Wunused-variable -Wno-deprecated -DBOOST_NO_WREGEX -DNTA_PYTHON_SUPPORT=2.6 -I/home/marek/nta/eng/lib/python2.6/site-packages/numpy/core/include -I/home/marek/devel/nupic/py26/include/python2.6/ -O2 -pipe  -DNUPIC2 -g -DNTA_ASM

option: -add-override had to be ommited as it's not working with gcc<4.7
this uses sane defaults, shouldnt break code.