Revert 6e82b59..8ddb21e

This rolls back to commit 6e82b5943a9e21eb688c34676bd94f2e8875b96d.
Revert 8ddb21e..fcc5751

This rolls back to commit 8ddb21e5979e6201f1879d07d5b71716661d04f7.
fix revenue to_i instead of to_f
Merge branch 'issue_with_revenue_split' into payouts_table
Make sure all block capture is to_s
add clean_db before specs
remove revenue from data tables
hide revenue from views