fixed parse doctests by sorting the grammar productions
got rid of any references to javasrc as it was removed
fixed sorting bug in corpus.doctest
fixed number of items bug in corpus.doctest
used most_common() instead of sorted()
Merge pull request #645 from jskda/pull_request.unit_test_fixes

Unit test fixes