Do not add double-spends that pay us to wallet

Add flag fRespend to SyncTransaction interface.

Do not add double-spends to the local wallet, even if they pay us,
unless they conflict with an existing wallet transaction.

This is to fix a resource exhaustion attack discovered by Sergio
Demian Lerner.