qt: Remove global references in bitcoin.cpp

Remove the need for global references `guiref` and
`splashref` by making the BitcoinGUI and SplashScreen
classes register for the UI interface signals themselves.

Conflicts:
	src/qt/bitcoin.cpp
qt: Stop shutdown detection timer during shutdown

Stop the shutdown timer from exiting the main loop
when shutdown is already in progress.

Fixes seeming hanging window after typing 'stop' in debug console.

Also hide the debug console during shutdown as it is useless without
a core to connect to.
build: pass correct defs and include path to moc

To make sure the right slots are generated, MOC needs -DHAVE_CONFIG_H
and correct include path to include bitcoin-config.h.

Conflicts:
	src/Makefile.include
GUI for --disable-wallet compiles and -disablewallet mode

There is not much in the GUI to be done without wallet,
though it's possible to change options, watch the sync process,
and use the debug console.

So embed the debug console in the main window.

Conflicts:
	src/qt/Makefile.am
	src/qt/bitcoingui.cpp
	src/qt/bitcoingui.h
	src/qt/optionsmodel.cpp
	src/qt/test/Makefile.am
makefile.am: split long lines into one file per line

This makes it easier to read diffs.
Cosmetic change to build system only.

Conflicts:
	src/Makefile.am
	src/qt/Makefile.am
	src/qt/test/Makefile.am
	src/test/Makefile.am
GUI: Fix design in overview page
small headers ordering cleanup

- keep headers in alphabetical order
- fix Makefile.am (2 files in 1 line - leftover)
- remove some spaces etc.
[Qt] guard bitcoin-config.h and remove dublicated help message code
[Qt] don't regenerate autostart link on every client startup

- allows users to add additional paramaters via the autostart link
- related to #2197
Store orphan blocks in serialized form

Conflicts:
	src/main.cpp
[Qt] fix alphabetical ordering in Makefile.am

- also change to 1 file per line for more stuff in Makefile.am

Conflicts:
	src/qt/test/Makefile.am
Tweak linearize.py to give more flexibility

Add the ability to start at a non-zero height, and allow for appending to
an existing file.
build: fix MacOSX build after ec41342

Fix regression introduced in ec41342.

Also use a less ugly solution, by defining the value of
`MOC_DEFS` in the configure script instead of `Makefile.include`.

Conflicts:
	src/Makefile.include
src/leveldb/Makefile is ignored?

remove the "-" in leveldb-* to include src/leveldb/Makefile
Conflicts:
	.gitignore
qt: use series of pngs for spinner

Use a series of .png frames for the spinner instead of a .mng.
`mng` is an obscure image format and is not built by default into Qt5.

This appears to improve the crispness of the spinner as well.

Does not noticably increase the size (still ~27k) and the code
is not more complicated either.

Conflicts:
	src/qt/bitcoingui.cpp
qt: Minor message updates

Used sending/receiving addresses -> Sending/receiving addresses
Previously requested payments -> Requested payments (idea from @cozz in #3521)
qt: English translation update

Conflicts:
	src/qt/bitcoinstrings.cpp
	src/qt/locale/bitcoin_en.ts
qt: Update remaining "The Bitcoin Core Developers"

Conflicts:
	share/qt/Info.plist.in
	src/bitcoin-cli-res.rc
	src/bitcoind-res.rc
	src/qt/aboutdialog.cpp
[Qt] add missing lock in walletmodel
[Qt] 2 minor translation changes

Conflicts:
	src/qt/bitcoin.cpp