Added file parse interface and implemented the patent parser.

Changed the MappingGeneratorTest accordingly.
Reverted back to CT tests.
Merge pull request #12 from yaoeric/devel/refactor

Added file parse interface and implemented the patent parser.