Add getnetworkhashps to get the calculated network hashrate
autotools: fix subdir m4 check, never let it return -I

If BDB_CPPFLAGS returns only "-I", the next argument sent to the preprocessor
is treated as a path. There are 2 fixes here:

1. Check in CPPFLAGS, as a user might have manually passed a path to check.
2. Ensure the value is not empty before setting BDB_CPPFLAGS to "-I value"
autotools: fix the Makefile.include to be safely included anywhere.

This way we can reuse rules rather than duplicating them.
win32: add version info to bitcoind.exe

TODO: Add icon info
win32: only check for windres for win32, and fail if missing
build: add libcrypt32 dep for new mingw. Also ensure that libgcc/libstdc++ are static-linked regardless of the toolchain config
Upgrade gitian win32 to Precise 12.04.

mingw upgrade allows more hardening, compiler bug fixes and possibily win64 later.
Rename deps .zip files to be more consistent in revision format.
Boost #4258 build fix for mingw32
Upgrade gitian win32 to boost-1.54.0

Workaround 1.54.0 build bug, upstream #9156
Workaround 1.51.0+ human bug, upstream #7262

This commit also demonstrates a method to verify the integrity of inputs.
several small Qt-related fixes

- make BitcoinGUI::showPaymentACK() use a reference for msg and use our
  own GUIUtil::HtmlEscape() function
- ensure QTimer usage in clientmodel is the same as in walletmodel
- remove an unneeded debug message in walletframe
- flag some parameters as unused in DebugMessageHandler()
- small code formatting changes
Merge pull request #3029 from wtogami/gitianwin32

Upgrade gitian win32 to Precise 12.04.
Merge pull request #3039 from Diapolo/Qt_misc

several small Qt-related fixes
Merge pull request #3015 from theuni/win32-version-info

Win32 version info
Fix gitian qt-win32.yml build

The final revision of PR 3029 incorporated a review suggestion of replacing
i686-w64-mingw32 with $HOST. But we forgot that $HOST is not expanded when
within single quotes so it actually broke qt-win32.yml build.  This is the
minimal changes necessary to fix the qt-win32.yml build.
Merge pull request #3043 from wtogami/fixqtwin32

Fix gitian qt-win32.yml build
misc small spelling/indentation fixes
Hardcode string in miniupnpcstring.h and remove wine requirement from deps-win32.yml

Credit: sipa, cfields, Luke-Jr and michagogo contributed to this fix.

Removing wine as a win32 build dep is beneficial to fixing Gitian LXC,
which would enable many more people to join in the gitian.sigs process
by being able to build with a linux VM instead of a virt capable host.
Merge pull request #3045 from Diapolo/master

misc small spelling/indentation fixes
Merge pull request #3042 from wtogami/nowinedep

Hardcode string in miniupnpcstring.h and remove wine from deps-win32.yml
Bitcoin-Qt: translation fixes in sendcoins

- remove some unneeded translatable strings from sendcoinsentry.ui file and
  rename some elements for better readability
- optimize string prorcessing in SendCoinsDialog::on_sendButton_clicked()
- make all UI labels for secure payments plain text and move the settings
  to sendcoinsentry.ui file
- remove unneeded button and default button definiton from warning message
  boxes
- remove fixed font-size when sending coins to an address with label and
  use monospace font for addresses
Merge pull request #2888 from litecoin-project/getnetworkhashps

Add getnetworkhashps to get the estimated network hashrate