Add optional branches_name_pattern parameter to snapshot_get_branches
enabling to filter the branches to return according to their names.
If provided, only the branches whose names match the provided pattern
will be returned.
The purpose is to add branches filtering in swh-web. As that feature
could be useful elsewhere, I thought adding it at swh-storage level
was better than implementing it client side each time it is required.
Related to T2782