WordNet paths

Since path computations in WordNet are currently the bottleneck in one of my applications, I decided to optimize them. This patch takes an average 44% off the running time of `Synset.shortest_path_distance` in my benchmarks.