Implements PUT /api/resource_classes/ID to update the Flavors

This will delete all existing flavors and replace them with those in the
PUT body. Addresses https://github.com/tuskar/tuskar/issues/50