Switch notifyspent to take an array of outpoints.

This allows a wallet process to request spent notifications for many
outpoints at once, rather than creating separate requests for each.