More control over importing untrusted transactions

This patch includes the following changes:

- When importing a transaction from an unknown source, we make sure that the transaction has at least one input from the given wallet/account.
- Returning the full Tx inside an AccTx object
- Some updates to the REST API to reflect those changes