make submit_proposal pay from delegate_pay #220
proposal prettyprint, tests, and bugfix #220