Global filters

this has some small support for the branch of the same name on the client side.
This just adds a serializer to return the branch group for the repository selection/watch panel in the UI.