Using std::partial_sort() as workaround for gcc bug in std::nth_element().
Merge branch 'next' of github.com:maidsafe/MaidSafe-Routing into next