minor code style cleanup after recent merges

- add a missing license header
- correct some header orderings etc.
Merge pull request #5205

b4347f6 minor code style cleanup after recent merges (Philip Kaufmann)
build: Fix "too many arguments" error

Closes #5141
Add "warmup mode" for RPC server.

Start the RPC server before doing all the (expensive) startup
initialisations like loading the block index.  Until the node is ready,
return all calls immediately with a new error signalling "in warmup"
with an appropriate status message (similar to the init message).

This is useful for RPC clients to know that the server is there (e. g.,
they don't have to start it) but not yet available.  It is used in
Namecoin and Huntercoin already for some time, and there exists a UI
hooked onto the RPC interface that actively uses this to its advantage.
Merge pull request #5007

af82884 Add "warmup mode" for RPC server. (Daniel Kraft)