add exception hierarchy for ydb errors, replace handle_ydb_error code, fixes #275
handle storage::RetryableExceptions in distlock code, fixes #249
notes from code review for #275
Merge branch 'ydb-errors' into releases/1.0

Resolves #275 and #249 for 1.0.1.