pulled in changes from https://github.com/ares/redmine_vote