Made operator[] rehash safe.

Added min_bucket_capacity.

swap() now locks all buckets during operation.