Added indexing to JMdict parser. Small changes to unit tests.