[bitcoin/bitcoin] Add BitcoinApplication & RPCConsole tests (#11625)

Updated 9a062963f588913c1bb3ad824aa60c312d68a49e -> bd1028c45d784539f03de07582a33e466cc5c721 ([pr/apptest.26](https://github.com/ryanofsky/bitcoin/commits/pr/apptest.26) -> [pr/apptest.27](https://github.com/ryanofsky/bitcoin/commits/pr/apptest.27)), fixing some of bugs and finally getting this working on macOS with `-platform minimal` and `-platform cocoa` options.
Updated bd1028c45d784539f03de07582a33e466cc5c721 -> bbe0cc9ea20975807de69d8a0e9e30d94981280c ([pr/apptest.27](https://github.com/ryanofsky/bitcoin/commits/pr/apptest.27) -> [pr/apptest.28](https://github.com/ryanofsky/bitcoin/commits/pr/apptest.28)) fixing travis compile error.

Changes:

— Adds back previously removed `SetRPCWarmupFinished` call so rpcnestedtests doesn’t throw the UniValue error reported by Sjors (https://github.com/bitcoin/bitcoin/pull/11625#issuecomment-376916368) when apptests are skipped.
— Adds workaround for apptests shutdown race condition on cocoa, where detectShutdown polling thread could cause the `m_app.exec()` call to return early before shutdown actually completed, and subsequent tests would assert false in `ECC_Start` because it was already started.
— Includes #14011 workaround for failing wallet and addressbook tests.