Fixes to #577

Fixed bugs in stanford tokenizer doctests.
Skip doctests if the jar doesn't exist.
Tested the doctest for python 2.6 and 3.2.