Track intermediate scores on memberships

Adds a ride_count column to the memberships table, which keeps track of
a user's contribution to a team. Changes the score calculation process
to utilize the intermediate values.
Add script to update ride counts