Add new-style API compatibility for VoteHandler.
Merge pull request #225 from powerlord/votecallback-fix

Add new-style API compatibility for VoteHandler.