Basic scoring

Check consistency on startup, use preScore()/postScore() on casting
or changing a vote. The next step will be to do this in constant
time. Also, prevent reloading when starting flask.