Made membership accept account email through the api

This way we don't have to push the account id, just the email address when creating a membership through the API.