Add a simple validate function for VoteAct api
Fix foreignkey can not access correctly bug in Candidate api