[fix bug 847458] Added form to add/edit votings.

* Add/Edit/Delete voting
* List voting template optimization
* Javascript changes in:
  * Edit report
  * Edit events