Added support for walletnotify

Added support for walletnotify, it's essential for the pool and other services to be notified for new transactions.