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
Merge pull request #92 from marios/Issue50

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