Add a new API endpoint to set the critpath flag for one or more packages on one or more branches