Add a switch to allow the node to run in a pruned state

These are the main functional changes on this state:

* The node is prevented to run with a wallet.
* Check for data at startup is limited to last 288 blocks.
* NODE_NETWORK flag is unset.
* Requests for pruned blocks from other peers are ignored.