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.
Also switch the (unused) verification code to low-s instead of even-s.

a81cd968 introduced a malleability breaker for signatures
(using an even value for S). In e0e14e43 this was changed to
the lower of two potential values, rather than the even one.
Only the signing code was changed though, the (for now unused)
verification code wasn't adapted.
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 script test handling of empty scripts

Previously an empty script would evaluate to OP_0
Test CHECKMULTISIG with m == 0 and n == 0
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