Move common_neighbors out of link_prediction and add link_prediction in generated documentation

This resolves some left-over issues from #1117.