Compute xpath of paragraphs.

Merge from https://github.com/dreamindustries/jaws/tree/master/justext.