Created unit tests to test
Fixed work of s_token_tsd_parse function.
Fixed processing of TSD sections for checking permissions in the process of adding emission to the ledger.
Added output of information about the return code after the s_token_tsd_parse function has run, and if the result is unsuccessful, then now a diagnostic output to the error code log occurs and the token declaration is not included in the ledger.