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
Add vout to ListTransactions output
Break up CAddrMan's IMPLEMENT_SERIALIZE
Convert closesocket 'compat wrapper' to function in netbase

Simpler alternative to #4348.

The current setup with closesocket() is strange. It poses
as a compatibility wrapper but adds functionality.

Rename it and make it a documented utility function in netbase.

Code movement only, zero effect on the functionality.
Merge pull request #4508

b069750 Break up CAddrMan's IMPLEMENT_SERIALIZE (Pieter Wuille)
Merge pull request #4504

43f510d Convert closesocket 'compat wrapper' to function in netbase (Wladimir J. van der Laan)
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)