Merge pull request #2985 from theuni/included-tests

Embedded test data in bitcoin_test
Add getnetworkhashps to get the calculated network hashrate
[Fee logic] Don't count txins for priority to encourage sweeping.

This changes the priority calculation to not include the size of per-txin
 data including up to 110 bytes of scriptsig so that transactions which
 sweep up extra UTXO don't lose priority relative to ones that don't.

I'd toyed with some other variations, but it seems like any formulation
 which results in an incentive stronger than making them not count will
 sometimes create incentives to add extra outputs so that you have
 extra inputs to consume later.  The maximum credit is limited so that
 users don't lose the disincentive to stuff random data in their
 transactions, the limit of 110 is based on the size of a P2SH
 redemption with a compressed public key.

This shouldn't need a staged deployment because the priority is not
 used as a relay criteria, only a mining criteria.
Update contrib/debian: proper desktop category and update changelog
Refactor: OutputDebugStringF -> LogPrint(category, ...)
Replace printf with LogPrintf / LogPrint
Merge pull request #3009 from gavinandresen/LogPrint

Remove #define printf, replace OutputDebugStringf with LogPrint(f)
Add src/.gitignore: ignore src/test_bitcoin
qt: english translation update
configure.ac: remove debug/release concept, prefer autotools default CXXFLAGS
Merge pull request #3011 from jgarzik/autoconf

configure.ac: remove debug/release concept, prefer autotools default CXXFLAGS
configure.ac: remove unneeded OSX flags
gitian: fix win32 build after configure bdb changes

bitcoin incorrectly linked against the dll after the configure changes, so
ensure that only the static lib is installed.
gitian: remove obsolete --disable-debug flag
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
Fix minor unit test memory leaks
Merge pull request #3017 from sipa/unitleaks

Fix minor unit test memory leaks