Fix STV chart results

Plots the results when only one person has voted, and correctly places
the Majority line
No votes, no table

Stops us throwing an error when nobody has yet cast their votes.
Properly assign rank

We were not properly setting the rank of options unless a round had only
a single possible option remaining