Save answers only once at the end

The old approach consisted in saving *every* single answer making
an AJAX request. When latency issues started arising, the system
became unstable and unreliable.
Now the answers are saved only at the end of the quiz and more
sanity checks are performed server-side.