[TASK] consolidate transaction logic

Major refactor of the way transactions are submitted
The statuscode for adding a trustline should probably be `201` if it isn't already