Import pending transactions

This code changes the import process to import pending transactions into a pending envelope.  Before every import, all pending transactions are deleted.  Pending transactions cannot be modified in any way in the UI.