makefile.mingw: Fix Win32 RPC Crashes.

https://github.com/bitcoin/bitcoin/commit/8864019f6d88b13d3442843d9e6ebeb8dd938831
Conflicts:
	src/makefile.mingw
Checkpoint at block 250,000

Conflicts:
	src/checkpoints.cpp
Bitcoin-Qt: Fix display of window when bitcoin: URI is opened

WalletView:
- add new signal showNormalIfMinimized()
- emit the new signal in handleURI() to fix a bug, preventing the main
  window to show up when using bitcoin: URIs

Upstream: dbc0a6aba2cf94aa1b167145a18e0b9c671aef5b
Fix out-of-bounds check

Conflicts:
	src/main.cpp
Fix typo in a comment: it's base58, not base48.
Revert "Actually use mapAlreadyAskedFor."

This reverts commit 643160f6e7e5e8ca84bc7d2c1a0f37d9cf43a6e1.

Turns out this commit was useless after a more careful reading of
CNode::AskFor
Add a limitedmap class similar to mruset
Backport MAX_INV_SZ constant

Upstream: 05a85b2b38d516a8701f684fcd2ab99f3e5b462d and 6e68524e95da2bedc21b1d95c4a206b902ab7c22
Move mapAlreadyAskedFor to limitedmap

This will result in re-requesting invs if we are under heavy inv
load, however as long as we get no more than 16,000 invs in two
minutes, this should have no effect on runtime behavior.

Conflicts:
	src/net.h
Merge commit '6247b33' into 0.5.x

Conflicts:
	src/makefile.mingw
Merge commit '4488cc0' into 0.5.x
Merge commit 'd8a4792' into 0.5.x
Merge branch '0.4.x' into 0.5.x

Conflicts:
	src/main.cpp
add missing limitedmap.h to bitcoin-qt.pro

Conflicts:
	bitcoin-qt.pro
Merge commit '5852537' into 0.6.x
Merge commit 'c58d3a8' into 0.6.x

Conflicts:
	src/makefile.mingw
Merge commit '0d1f0f2' into 0.6.x
Merge commit '65ea17c' into 0.6.x
Merge commit '403d387' into 0.6.x

Conflicts:
	bitcoin-qt.pro
	src/net.h
Merge commit '65519eb' into 0.7.x