Update pairwise_iterator.hpp to use C++11 features.

The only change so far is to condense > > to >> at the end of a
template.