updating compute_result function with more doc and fixing delegated_counts_result
fixing json field output in the api, fixing some code in election compute_result and adding a comprehensive election tally unit test