Implement SI-style (thin space) thoudands separator
Show bitcoin quantities with full precision, even in the presence of trailing zeros
Merge remote-tracking branch 'upstream/master'

Conflicts:
	src/qt/overviewpage.cpp
	src/qt/transactiondesc.cpp
Remove unused fAlign argument from BitcoinUnits::format and friends
Add comments re BitcoinUnits::formatWithUnit/formatHtmlWithUnit
Only remove actualy failed blocks from setBlockIndexValid
Add helptexts for -whitelist and rpc prioritisetransaction and switch to bitcoin instead of satoshis
Add vout to ListTransactions output
Add a new checkpoint at block 295,000

Block 295,000 seems to meet the criteria of a reasonable timestamp and
no strange transactions. 295,000 is the current block height in the
bootstrap.dat torrent provided by jgarzik.
net: add SetSocketNonBlocking() as OS independent wrapper
prevent SOCKET leak in BindListenPort()

- the call to CloseSocket() is placed after the WSAGetLastError(), because
  a CloseSocket() can trigger an error also, which we don't want for the
  logging in this two cases
[Qt] Prevent balloon-spam after rescan
build: silence false errors during make clean
build: allow linux and osx to build against static qt5

This is the first part of a huge effort to rework the handling of dependencies.
To start, this change allows all supported platforms to build against a static
Qt. 5.2.1 and 5.3 have been successfully tested against osx64, win32, win64,
linux32, and linux64.

It also makes a small change to the windows config, to allow linking against
qt builds with or without built-in libjpeg/libpng/libpcre/libz.

The actual build processes to take advantage of these changes (for gitian and
pull-tester) are coming soon. Until then, this should be a no-op.
build: fix whitespace in pkg-config variable

Useful for PKG_CONFIG="pkg-config --static"
Merge pull request #4530

acd432b [Qt] Prevent balloon-spam after rescan (Cozz Lovan)
Merge pull request #4553

1e72d5c build: silence false errors during make clean (Cory Fields)
Merge pull request #4551

c994d2e prevent SOCKET leak in BindListenPort() (Philip Kaufmann)
Merge pull request #4554

2d89ea9 build: fix whitespace in pkg-config variable (Cory Fields)
ab123ad build: allow linux and osx to build against static qt5 (Cory Fields)
Merge pull request #4255

1b4568c Add vout to ListTransactions output (Cozz Lovan)