Relations improvements

- Relations are now saved at item save() time, not separately
- Some relations uploaded via classic sync wouldn't show via API
- Remove two-stage save (and possible 'unchanged' incorrectness) for API
  items that included relations
Don't use extra SQL queries for item collections

Follow-up to setCollections change that made item collections save at
save() time