added list/get received by address/ account tests

fixed some annotations and cleaned a bit

received by tests

d
Move checkpoint based heuristic checks to AcceptBlockHeader
[Qt] rename In:/Out: to Received/Sent in traffic tab

- collides with In:/Out: used for displaying number of
  connections when translating
[Qt] Change Coin control labels and tooltips because of non-rounding fees
sanity: autoconf check for sys/select.h
sanity: add libc/stdlib sanity checks

These are meant to test our back-compat stubs, but they are enabled for all
builds for the sake of consistency.
sanity: hook up sanity checks
Added encryptwallet call to bitrpc.py

This was the only call requiring password input which was still missing. Much useful to avoid leaving a plain text passphrase in the shell log.
Merge pull request #4354

7ad720d Added encryptwallet call to bitrpc.py (dllud)
Merge pull request #4339

92a6220 sanity: hook up sanity checks (Cory Fields)
679240d sanity: add libc/stdlib sanity checks (Cory Fields)
11404af sanity: autoconf check for sys/select.h (Cory Fields)
Merge pull request #4334

6763018 [Qt] rename In:/Out: to Received/Sent in traffic tab (Philip Kaufmann)
rpc: Ignore and log errors during cancel

Cancelling the RPC acceptors can sometimes result in an error about
a bad file descriptor.

As this is the shutdown sequence we need to continue nevertheless,
ignore these errors, log a warning and proceed.

Fixes #4352.
rpc: Add acceptors only when listening succeeded
Merge pull request #4358

6afa493 rpc: Add acceptors only when listening succeeded (Wladimir J. van der Laan)
33e5b42 rpc: Ignore and log errors during cancel (Wladimir J. van der Laan)
Merge pull request #4310

7a9e0b6 Move checkpoint based heuristic checks to AcceptBlockHeader (Pieter Wuille)
AvailableCoins: acquire cs_main mutex

It's required when called from WalletModel
Merge pull request #4371

ea3acaf AvailableCoins: acquire cs_main mutex (Pavel Vasin)
small cleanup in src/compat .h and .cpp

- add license header
- fix include guards
- fix indentation
Allocate receive buffers in on the fly
Add nLocalServices info to RPC getinfo

Also show full 64 bits of services. Previously service bits >32 that
were advertised just didn't show up at all.