Removed boost dependencies

Removed boost includes:
#include <boost/tr1/memory.hpp>
#include <boost/tr1/functional.hpp>

Added C++ includes
#include <memory>
#include <functional>