Add some additional logging to give extra network insight.
Store and use a sanitized subVer
qt: restore icon dock menu

This was removed by 25c0cce7f. It was apparently removed in qt5, but
may return for 5.1.
Integration tests via RPC calls

qa/rpc-tests/wallet.sh runs a three-node -regtest network,
generates a fresh blockchain, and then exercises basic wallet
sending/receiving functionality using command-line RPC.
Split up bitcoinrpc (code movement only)

Split bitcoinrpc up into

- rpcserver: bitcoind RPC server
- rpcclient: bitcoin-cli RPC client
- rpcprotocol: shared common HTTP/JSON-RPC protocol code

One step towards making bitcoin-cli independent from the rest
of the code, and thus a smaller executable that doesn't have to
be linked against leveldb.

This commit only does code movement, there are no functional changes.
Merge pull request #3319

871ac37 qt: restore icon dock menu (theuni)
Merge pull request #3296

a946aa8 Store and use a sanitized subVer (Mike Hearn)
ba6a4ea Add some additional logging to give extra network insight. (Mike Hearn)
Merge pull request #3284

fb78cc2 Split up bitcoinrpc (code movement only) (Wladimir J. van der Laan)
prevent Windows redefinition warning cause by compat.h
autogen.sh: Add a /bin/sh shebang.
autogen.sh: Use set -e to fail if any command fails

In preparation for expanding autogen.sh.
autogen.sh: Support running from outside the source directory

Initial steps towards supporting out-of-tree builds.
autogen.sh: Use long options to autoreconf, for self-documentation
autogen.sh: Stop passing --verbose to autoreconf

This quiets down the autotools build, making warnings much more visible.
configure.ac: Check for miniupnpc headers, not just -lminiupnpc

This protects against broken systems which have libminiupnpc.a or
libminiupnpc.so installed but don't have the miniupnpc headers.
src/Makefile.am: Simplify clean of leveldb
Merge pull request #3321

0078841 prevent Windows redefinition warning cause by compat.h (Philip Kaufmann)
bitcoin-cli: Add missing SelectParamsFromCommandLine

The SelectParamsFromCommandLine call was missing in bitcoin-cli,
which caused `-testnet` and `-regtest` to be ignored. Add this
call just like in bitcoind.cpp.
Merge pull request #3295

9e7776b Integration tests via RPC calls (Gavin Andresen)
Merge pull request #3328

9d2b73d bitcoin-cli: Add missing SelectParamsFromCommandLine (Wladimir J. van der Laan)