VCategories: Don't forget to save category relations if category exists.
Merge pull request #2078 from owncloud/save_category_relations

VCategories: Don't forget to save category relations if category exists.