fixed bug when user can vote on closed topic, closed #115
Merge remote-tracking branch 'origin/master'