Flavors CRUD

Flavors are a subresource of Resource Class, so there's one more id
parameter to supply for each operation. Otherwise it works pretty much
the same as every other resource.