Fix node ranges in the test framework.
don't override dir() in qa rpc tests

Replace "dir" with "dirname" in util.py in qa/rpc-tests/ because "dir"
is the name of a function in python.
Optimize -regtest setgenerate block generation

Speed up generating blocks in regression test mode, by moving
block-creating and nonce-finding directly into the setgenerate
RPC call (instead of starting up a mining thread and waiting for
it to find a block).

This makes the forknotify RPC test three times quicker, for
example (10 seconds runtime instead of 30 seconds, assuming
the initial blockchain cache is already built).
script: create sane error return codes for script validation and remove logging

Attempt to codify the possible error statuses associated with script
validation. script/types.h has been created with the expectation that it will
be part of the public lib interface. The other flag enums will be moved here in
a future commit.

Logging has also been removed in order to drop the dependency on core.h. It can
be re-added to bitcoind as-needed. This makes script verification finally free
of application state and boost!
script: check ScriptError values in script tests
[Qt] Fix height of BitcoinAmountField
Fix typo in listreceivedbyaddress and listaccounts  help text
Update comments in txmempool to be doxygen compatible

Fix typo in Read() error message
Update comments in util to be doxygen compatible
Merge pull request #5287

7335ca1 [Qt] Fix height of BitcoinAmountField (Cozz Lovan)
[OSX, docs] update some release build informations

- switching release builds to 10.7
- release binary looks like 64bit only
- tested up to 10.10
- gitian builder builds against 10.7. The docs should be consistant.
- remove 32bit text because nowadays it's obvious to support 64bit only on OSX.
Merge pull request #5282

a7af983 don't override dir() in qa rpc tests (Bryan Bishop)
Merge pull request #5275

1837987 Optimize -regtest setgenerate block generation (Gavin Andresen)

Signed-off-by: Gavin Andresen <gavinandresen@gmail.com>
Merge pull request #5292

7329fdd Update comments in txmempool to be doxygen compatible (Michael Ford)
Merge pull request #5289

5617267 Fix typo in listreceivedbyaddress and listaccounts  help text (Michael Ford)
Merge pull request #5293

c63a73d Update comments in util to be doxygen compatible (Michael Ford)
Merge pull request #5237

2db4c8a Fix node ranges in the test framework. (Daniel Kraft)
Merge pull request #5212

219a147 script: check ScriptError values in script tests (Cory Fields)
ab9edbd script: create sane error return codes for script validation and remove logging (Cory Fields)
Split logic to undo txin's off DisconnectBlock.

Instead, create a separate function that applies the undo operation of a
CTxInUndo object onto a CCoinsViewCache.  This method is used from
DisconnectBlock.
Abstract the block version.

Wrap CBlockHeader::nVersion into a new class (CBlockVersion).  This
allows to take care of interpreting the field into a base version,
auxpow flag and the chain ID.