refactored payouts calculator

Since all arguments needed to calculate a payout are based on poll
attributes, we just pass the entire poll object as an arg.
Merge pull request #3 from yobennett/refactor-payouts-calculator

refactored payouts calculator