Add -walletnotify from Bitcoin

Originally authored by @kjj2