fix -rescan, fix -txindex help, enable actually rescanning for certissuers, remove offerdb memleak

review & test carefully, this may bring up previously unnoticed bugs!