update Lexicon.py and Lexicon_t.py for LHE data.

This patch is for LHE data registering to DBS. Please review and commit.

I found there is a test broken in Lexicon_t.py. There are a lot of changes in Lexicon.py recently. Please make sure the new code will not break the existing condition. Thanks.