Calculate deadline of voting
Merge branch 'refactoring_round' of https://github.com/phansaorin/DotVoting into refactoring_round