Split off term deserialization code to TermDeserializer

This also includes a prototype of the new term model
Merge pull request #13 from wmde/TermDeserializer

Split off term deserialization code to TermDeserializer