Too many bitcoins allowed in amount. (#2401)

Using magic number doesn't seem right. Could we factor this out, together with https://github.com/bitcoin/bitcoin/blob/master/src/bitcoinrpc.cpp#L96 ?
And what about BitcoinUnits::parse() as well ?
Markdown Cleanup - Part 2

Now everything is in markdown...
Initialize database before checking changed txindex

In case no database exists yet, and -txindex(=1) is passed, we currently first
check whether fTxIndex differs from -txindex (and ask the user to reindex in
that case), and only afterwards initialize the database. By swapping these
around (the initialization is a no-op in case the database already exists),
we allow it to be born in txindex mode, without warning.

That also means we don't need to check -reindex anymore, as the wiping/reinit
of the databases happens before checking.
Add ExtractAffectedKeys to script

This function finds all keys affected by a particular output script,
supporting everything ExtractDestinations supports (pay-to-pubkey,
pay-to-pubkeyhash, multisig) and recurses into subscripts (P2SH).
Add GetKeyBirthTimes to wallet

Compute safe lower bounds on the birth times of all wallet keys. For
pool keys or keys with metadata, the actually stored birth time is
used. For all others, the birth times are inferred from the wallet
transactions.
Add dumpwallet and importwallet RPCs

dumpwallet: produce a dump of all keys in a wallet, in a format
compatible with Bitcoin Wallet for Android and Multibit.

importwallet: import such a dump
Merge pull request #2592 from sipa/dumpwallet

Add dumpwallet and importwallet RPC commands
Merge pull request #2783 from sipa/newtxindex

Initialize database before checking changed txindex
Moved CBlock::WriteToDisk out of CBlock to inline function WriteBlockToDisk in main.h
Moved WriteBlockToDisk implementation from main.h to main.cpp
Moved CBlock::ReadFromDisk out of CBlock to functions ReadBlockFromDisk in main.h
Moved ReadBlockFromDisk implementation to main.cpp
Pulled DisconnectBlock out of CBlock.
Pulled ConnectBlock out of CBlock.
Pulled AddToBlockIndex out of CBlock.
Pulled CheckBlock out of CBlock.
Pulled AcceptBlock out of CBlock.
Moved CBlock from main.h to core.h
Dump addresses every 15 minutes instead of 10 seconds
Merge pull request #2758 from CodeShark/CBlock-to-core

Finish moving core data structures into core.h.