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
base58: add paranoid return value checks
add NetworkIDString() to chainparams

- returns the BIP70 network string
- use that new function in the core and GUI code and remove unused code
  and functions
[Qt] rename In:/Out: to Received/Sent in traffic tab

- collides with In:/Out: used for displaying number of
  connections when translating
Add `-stopafterblockimport` option

Stop after importing blocks. This can be useful for development
and trouble shooting.
Merge pull request #4337

88df548 base58: add paranoid return value checks (Jeff Garzik)
Merge pull request #4326

f5ae6c9 add NetworkIDString() to chainparams (Philip Kaufmann)
Remove `using namespace std` from header file

It's considered bad form to import things into the global namespace in a
header. Put it in the cpp files where it is needed instead.
Merge pull request #4349

09eb201 Remove `using namespace std` from header file (Wladimir J. van der Laan)
[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.
add comment to HelpMessage() to ensure alphabetical ordering

- also rename hmm to mode, to be consistent between .h and .cpp
Merge pull request #4357

1020f59 add comment to HelpMessage() to ensure alphabetical ordering (Philip Kaufmann)
Get rid of Params().RPCisTestNet()
Add "chain" to getmininginfo, improve help in getblockchaininfo
Merge pull request #4333

f6984e8 Add "chain" to getmininginfo, improve help in getblockchaininfo (jtimon)
b82b7ec Get rid of Params().RPCisTestNet() (jtimon)