Backports:
- #12859 Bugfix: Include <memory> for std::unique_ptr
- #13131 Add Windows shutdown handler
- #13451 rpc: expose CBlockIndex::nTx in getblock(header)
- #13507 RPC: Fix parameter count check for importpubkey
- #13544 depends: Update Qt download url
to the 0.16 branch.