Use C++11 Threads

As far as I can tell, I have re-factored this code to use std::thread instead of boost::thread.

As of C++11, threading is built-in to the standard library. This should increase the portability of the code, as well as removing the need to install the boost threads library.