Prune Branches Endpoint

Implement api/branches as an endpoint to send a comma separated string of branches that should be tracked; prune all branches not in that list and not master or develop either.