[fix bug 1016914] Show error messages when casting a vote.
[fix bug 1016912] Extend vote by 24 hours if voting ends tomorrow and low turnout.