Rename the `memberships` table to `takes`

`memberships` was a bad name for this table because it's ambiguous with community memberships. Renaming to `takes` fits the usage we've arrived at and is parallel to `tips`. Tips and takes! Membership is then an emergent property of data recorded in the takes table.

This sets us up for #2282.