Take points calculation from php code
Merge pull request #244 from openaustralia/new_votes_point_calc

Take points calculation from php code