Broken addresses on command line no longer trigger testnet.

When passing a bitcoin: URI on the command line, invalid addresses do not incorrectly send the
user to the test network.
qt: fix tablet crash. closes #4854.

This backports the relevant parts of:
https://codereview.qt-project.org/#/c/82689/
Limit CNode::mapAskFor

Tighten resource constraints on CNode.
Avoid returning many "inv" orphans
Merge pull request #4874

21f139b qt: fix tablet crash. closes #4854. (Cory Fields)
Move scriptutils.o to wallet
Move CAffectedKeysVisitor to wallet.cpp (remove ExtractAffectedKeys)
Rename scriptutils.o to wallet_ismine.o
Merge pull request #4755

c1e433b Rename scriptutils.o to wallet_ismine.o (jtimon)
8b59a3d Move CAffectedKeysVisitor to wallet.cpp (remove ExtractAffectedKeys) (jtimon)
0d2fa14 Move scriptutils.o to wallet (jtimon)
Merge pull request #4623

e84843c Broken addresses on command line no longer trigger testnet. (Ross Nicoll)
Merge pull request #4878

540ac45 Avoid returning many "inv" orphans (Jeff Garzik)
d4168c8 Limit CNode::mapAskFor (Wladimir J. van der Laan)
Fix crashing bug caused by orphan(s) with duplicate prevout.hash
Use explicit fflush() instead of setvbuf()

Flushing after every line when printing to console is desirable when
running with systemd but setvbuf() has slightly different semantics
on Windows that causes warnings.  Just do an explicit fflush() after
each line print to console instead.
Stricter handling of orphan transactions

Prevent denial-of-service attacks by banning
peers that send us invalid orphan transactions
and only storing orphan transactions given to
us by a peer while the peer is connected.
Store fewer orphan tx by default, add -maxorphantx option

There is no reason to store thousands of orphan transactions;
normally an orphan's parents will either be broadcast or
mined reasonably quickly.

This pull drops the maximum number of orphans from 10,000 down
to 100, and adds a command-line option (-maxorphantx) that is
just like -maxorphanblocks to override the default.
Merge pull request #4892

e982b57 Use explicit fflush() instead of setvbuf() (Adam Weiss)
Merge pull request #4885

aa3c697 Store fewer orphan tx by default, add -maxorphantx option (Gavin Andresen)
c74332c Stricter handling of orphan transactions (Gavin Andresen)
compile with C++0x support
use std::unique_ptr
replace boost::assign facilities with initializer lists