Added fallback to tr1 if no C++11 support is present
Added travis CI script