Mastercore integration: Refactor send transaction API

Refactor of the Send transaction to work with the new Transaction Generation API adding Mastercore integration. Requieres #568 to be merged first.

Credits to @faizkhan00 for the valuable contributions here, without them this wouldn't be functional.