added stix_synerrnumtoerrstr().
renamed/refactored some encoding conversion functions. added stix_errnumtoerrstr(). added generr.st to generate error string code