bitbucketserver: Add configurable rate limiter
Created by: ryanslade
The change adds a configurable rate limiter for bitbucket server.
The rate limiter itself is cached so that multiple calls to create a client will reuse the same limiter. If config is changes between calls then the next call will update the limiter settings.
Part of: https://github.com/sourcegraph/sourcegraph/issues/8546