Do not invoke DoS for non-canonical sigs
Silence useless warning in src/json/json_spirit_writer_template.h to make important warnings easier to see.

warning: typedef ‘Char_type’ locally defined but not used [-Wunused-local-typedefs]
Skip comparison tool on win32 since Wine breaks it
Add a few more basic script/tx test-cases.
Merge pull request #3223 from TheBlueMatt/master

Test changes
Rename leveldb.{h,cpp} to leveldbwrapper.{h,cpp}.
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.