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.