hotfix-11394
[*] change mutex to _Thread_local
[*] use keys to free _Thread_local vars in sqlite and ecdsa
[*] add multithread tests
Edited by pavel.uhanov
[*] change mutex to _Thread_local
[*] use keys to free _Thread_local vars in sqlite and ecdsa
[*] add multithread tests