fixed user_has_voted check in approval voting

Before was using a cache for it, and this came back to bite me. Now the data is recorded in the database, using the user_event junction table.