Validates set user preferences endpoint

- 400 if JSON is invalid
- 422 if kind or client does not exist
- 422 if kind is critical

[#76994788]
Adds GOBBLE_MIGRATIONS_DIR variable to README