Move given/surname fixing logic here, from enamdict module. Add in checks for determining the given/surname status of kanji. Add in some tests.