Add rejection of non-null CHECKMULTISIG dummy values

This is a source of transaction mutability as the dummy value was
previously not checked and could be modified to something other than the
usual OP_0 value.

Conflicts:
	src/script.h
	src/test/data/tx_invalid.json
	src/test/data/tx_valid.json
	src/test/transaction_tests.cpp
Do not trigger a DoS ban if SCRIPT_VERIFY_NULLDUMMY fails

Conflicts:
	src/main.cpp
Increase IsStandard() scriptSig length

Removes the limits on number of pubkeys for P2SH CHECKMULTISIG outputs.
Previously with the 500 byte scriptSig limit there were odd restrictions
where even a 1-of-12 P2SH could be spent in a standard transaction(1),
yet multisig scriptPubKey's requiring more signatures quickly ran out of
scriptSig space.

From a "stuff-data-in-the-blockchain" point of view not much has changed
as with the prior commit now only allowing the dummy value to be null
the newly allowed scriptSig space can only be used for signatures. In
any case, just using more outputs is trivial and doesn't cost much.

1) See 779b519480d8c5346de6e635119c7ee772e97ec872240c45e558f582a37b4b73
   Mined by BTC Guild.

Conflicts:
	src/main.cpp
Correct comment for 15-of-15 p2sh script size

The original comment forgets to account for the script push which will
need an OP_PUSHDATA2 + 2-bytes for the 513 script bytes.

props davecgh
fixes #4224

Conflicts:
	src/main.cpp
adapt latest linearize script from bitcoin
db: cleanup includes

Conflicts:
	src/db.cpp
	src/db.h