make each vote record unique
modify competition-idea relation

This is now a HMT relation. The migration that used to create
the table competitions_ideas has been deleted for simplicity
since it not needed anymore, but this has been done in the previous commit by mistake.
Merge pull request #243 from DevYah/db_relations

Db relations