fixed saving device service and env through api

Tastypie need ServiceCatalog model (which is proxy to CI and inherit from CI, but because of django magic, isinstance is not working as expected) as field reference - not CI model.