Merge pull request #3211

b64187d Rename leveldb.{h,cpp} to leveldbwrapper.{h,cpp}. (Brandon Dahler)
Cleanup code using forward declarations.

Use misc methods of avoiding unnecesary header includes.
Replace int typedefs with int##_t from stdint.h.
Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h.
Normalize QT_VERSION ifs where possible.
Resolve some indirect dependencies as direct ones.
Remove extern declarations from .cpp files.
Merge pull request #2767

51ed9ec Cleanup code using forward declarations. (Brandon Dahler)
Make CCoinsView use block hashes instead of indices
Move CCoins-related logic to coins.{cpp.h}
Fix struct/class declaration mismatches
Improve logging of failed connections
Refactor: pull alert string sanitization into util
New reject p2p message
Test alerts high at high PROTOCOL_VERSIONs

I regenerated the alert test data; now alerts are tested
against a protocol version way above the current protocol
version.

So we won't have to regenerate them every time we bump
PROTOCOL_VERSION in the future.
Bump protocol version to 70002
Merge pull request #3185 from gavinandresen/reject

Reject p2p message
Merge pull request #3199 from sipa/mempoolmove

Cleanup refactoring of coins/mempool
Update build docs that refer to old makefile.* files.

Also update pull-tester's error message.
doc: add note about building on Ubuntu 13.10

Also mention `autoconf` as required package.
Merge pull request #3232 from laanwj/2013_11_ubuntu1310

doc: add note about building on Ubuntu 13.10
configure: Simplify common AM_CPPFLAGS and AM_LDFLAGS to a Makefile.common
Merge pull request #3231 from brandondahler/doc-autotool-update

Update build docs that refer to old makefile.* files.
configure: Automatically disable bitcoin-qt by default, if dependencies are not met
Merge pull request #3233 from laanwj/2013_11_autoconf

Autoconf improvements