Add new algorithm for_each_adjacent_pair
svn path=/branches/kdepim/enterprise4/kdepim/; revision=821361