Added ping time measurement.
New RPC "ping" command to request ping.
Implemented "pong" message handler.
New "pingtime" field in getpeerinfo, to provide results to user.
New "pingwait" field, to show pings still in flight, to better see newly lagging peers.
Bitcoin-Qt: prevent stuck/unusable debug window on exit

- when closing the client with an open debug window, that window could
  become stuck/unsuable (it was still shown wherea the main window was
  hidden already)
- fix this by hiding the debug window, when quitting the the client
Merge pull request #3056 from Diapolo/stuck_debug_window

Bitcoin-Qt: prevent stuck/unusable debug window on exit
add missing Boost Thread join_all() call during shutdown

- fixes #3037 by adding missing join_all() call and brings bitcoind
  shutdown code in line with Bitcoin-Qt shutdown code
- added a comment for the if (!fRet) case
style-police: fixed badly readable code in ProcessMessage()

- I introduced the problem and fixed it with better readable code
Merge pull request #3064 from Diapolo/style

style-police: fixed badly readable code in ProcessMessage()
Merge pull request #3059 from Diapolo/Shutdown

add missing Boost Thread join_all() call during shutdown
Re-enable win32 pull-testing
Merge branch 'pulltestwin32'
make fCommandLine a local variable in AppInit()
Bitcoin-Qt: ensure Qt icon is shown with Qt >= 5.0
Merge pull request #3068 from Diapolo/qt-icon

Bitcoin-Qt: ensure Qt icon is shown with Qt >= 5.0
Remove include of windows.h from allocators.h

Create an allocators.cpp, and move all of the #ifdef WIN32
code and the #include of windows.h into it.

Two motives for this cleanup:
1. I'm getting a weird error in windows.h in my smartfee branch.
2. allocators.h is included (indirectly) just about everywhere, so
this should speed up Windows compiles quite a lot.
Merge pull request #3066 from Diapolo/rem_global

make fCommandLine a local variable in AppInit()
Rework pull-tester scripts, disable blockchain tester

Re-organize the pull-tester scripts a bit.

And disables running the blockchain tester, it is not working properly
on the pull-tester machine for reasons I cannot explain (fails to start).
Disable code-coverage builds for now

Not working on the pull-tester machine, 'make cov' hangs there.
Merge pull request #3078 from gavinandresen/pulltester

Rework pull-tester scripts, disable blockchain tester
Merge pull request #3071 from gavinandresen/windows_h

Remove include of windows.h from allocators.h
prevent compiler redefinition warnings

- I observed a massive amount of redefinition warnings after #3071, which
  are silenced by this patch
- uses the same style as we do in other places, where we define _WIN32_WINNT
Merge pull request #3081 from Diapolo/silence_compiler

prevent compiler redefinition warnings