Use range-for
Merge latest master changes to c++11-migrate
Explicitly tell cmake to build clang in either Release or Debug mode
Comment out lcov for now
Use auto by-reference
Fix long line code
Remove useless linker libraries
Explicit use C++11 for Mac 10.8 and below
Merge from lqi/c++11-migration