Where possible, it is a good idea to add new backend code in ways that
will minimize conflict with upstream changes. We can't do that
everywhere, but we can move our custom methods to a module that won't
be modified upstream, and that's a start.
This commit also gets the block/mute note maps into
REST::RelationshipSerializer under the "block_notes" and "mute_notes"
keys.