Changed std::tr1 occurences to boost.

std::tr1 might not be supported by all compilers and will eventually
be dropped by others. Using boost instead makes this more
portable.

I think, this is the last module to update.