Add a max_keys parameter to bucket fetch.

Allows client code to configure the fetch batch size.