Prioritize getting s3 object with the key, which equals to valid FrostFS OID, rather than getting non-existent object with OID via native protocol for GET and HEAD requests
Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
Add tree service's GetBucketSettings to use them to check for protocol to use (S3 or native). Also add mock implementations for this and GetLatestVersion methods.
Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>