Revamp ratings schema

This resolves #43 and resolves #45, as well as enabling usernames instead of only email addresses. This is completely backward incompatible with the previous schema.