API  endpoint for user preferences

- Now includes all non-critical kinds from a client user has received
from, even if user hasn't received that kind.

[#76994624]
Sets up endpoint and database table for unsubscribing

[#76994664]