enable LLVM/Clang in Travis
fix clang operator<< argument-dependant lookup, ambiguity
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
This removes matplotlib as a dependency by default.  Along with it, clear out some un-used code
Deleted integration test which relied on ImageSensor
Restoring ImageSensor.py and network serialization integration test
enable LLVM/Clang in Travis
fix clang operator<< argument-dependant lookup, ambiguity
build opt -Qunused-parameter for clang

to don't mind -falign-loops=16 which clang does not know
use var _MATH here
switch gcc/clang specific compile flags
implement stringstream operator<< for vector

it's used by Index and was breaking clang.
final Clang support

tested on clang 3.2, 3.4.
use CC=clang CXX=clang++ ./cleanbuild.sh
(if you dont have gcc on you system, the CC,CXX above is unnecessary)
)
Merge branch 'llvm-support' of https://github.com/breznak/nupic into llvm-support

Conflicts:
	nta/utils/LoggingException.hpp
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() };
                                               ^