parentItem fixes

- Include parentItem in JSON
- Allow removal of items from parents by excluding parentItem
- Test for not clearing parentItem if not specified on PATCH
Allow 'relations' to be an array instead of object if it's empty

This can be annoying (at least from PHP) when encoding JSON.