Update Tips to go 100% to Author (#1836)

* 100% of tip goes to Author

* refactor dealwithfees into common

* add fee and tip test

* fix
9 jobs for master in 23 minutes and 14 seconds (queued for 2 seconds)