refs #2: added a test for unique constraint between user and idea on the vote table.
refs #2: Added the unique together restraint between user and idea on vote.