Added functions ChainTypeFromString, ChainTypeFromString, StringFromChainType for handling ChainType, with tests and documentation.
Added functions ChainTypeFromString, ChainTypeFromString, StringFromChainType for handling ChainType, with tests and documentation.