build: osx: Fix incomplete framework packaging for codesigning

Starting with 10.9, Framework versions must be signed individually, rather
than as a single bundle version, in order to be properly codesigned. This
change ensures that the proper plist files and symlinks are present prior to
packaging.
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.
Move g_signals.SetBestChain(..) below SyncWithWallets
Fixing compiler warning C4800: 'type' forcing value to bool 'true' or 'false'
qt: Remove thousands separators after decimal point

Revert thousands separators after decimal point, as introduced in #4167.
Track modified size in TxMemPoolEntry so that we can correctly compute priority.
qt: fix tablet crash. closes #4854.

This backports the relevant parts of:
https://codereview.qt-project.org/#/c/82689/
Make script_{valid,invalid}.json validation flags configurable
Limit CNode::mapAskFor

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

a95b119 qt: Remove thousands separators after decimal point (Wladimir J. van der Laan)
Merge pull request #4874

21f139b qt: fix tablet crash. closes #4854. (Cory Fields)
netbase: Make SOCKS5 negotiation interruptible

Avoids that SOCKS5 negotiation will hold up the shutdown process.

- Sockets can stay in non-blocking mode, no need to switch it on/off
  anymore
- Adds a timeout (20 seconds) on SOCK5 negotiation. This should be
  enough for even Tor to get a connection to a hidden service, and
  avoids blocking the opencon thread indefinitely on a hanging proxy.

Fixes #2954.
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