AddToWallet implies BindWallet

Now that AddToWallet is called when loading transactions from the
wallet database, BindWallet can be integrated into that and does not
need to be an extra step.

Leaves behaviour unchanged, but makes the
fFromLoadWallet/!fFromLoadWallet paths in AddToWallet a bit more
symmetric.
Fix for GetBlockValue() after block 13,440,000

Forces the block reward to zero when right shift in GetBlockValue() is
undefined, after 64 reward halvings (block height 13,440,000).
Fix bloom filter not to use bit_mask
Fix importwallet nTimeFirstKey
RPC command getmininginfo showing right genproclimit
gitian: add statically built variant of bitcoind/bitcoin-cli
remove an assignment which is never used.
build: improve missing boost error reporting
doc: Add note about memory reqs for compilation
qt: Don't require db_cxx.h when wallet disabled

Fix #3978.
Add sighash tests from data file
Add code generating data/sighash.json test data
Add application category for OSX

In "View by Category" without this metadata the app gets sorted into "Other" at the bottom.
add checks for deserialization errors
Merge pull request #3988

1204945 Add application category for OSX (duanemoody)
Merge pull request #3975

81bfb5a add checks for deserialization errors (Manuel Araoz)
232aa9e Add code generating data/sighash.json test data (Manuel Araoz)
43cb418 Add sighash tests from data file (Manuel Araoz)
unified and better log/error messages for CDBEnv/CDB
[Qt] small cleanup of coincontroldialog

- use a little more Qt-style
- check for NULL pointers first and return in updateView()
- small space and formating changes
Merge pull request #3991

d34b958 [Qt] small cleanup of coincontroldialog (Philip Kaufmann)
Merge pull request #3986

65adc3a qt: Don't require db_cxx.h when wallet disabled (Wladimir J. van der Laan)
4babd08 doc: Add note about memory reqs for compilation (Wladimir J. van der Laan)
25333a2 build: improve missing boost error reporting (Wladimir J. van der Laan)