start writing some platform checks
restore -std=c++0x flag until platform checks are ready

and tell travis-ci not to bother looking at branches other than master
update platform checks to use cmake functions
new ref-stats algorithm that allows arbitrary strings