docs: better start and stop examples (#1521)
docs: better start and stop examples (#1521)

This PR adds separate examples for each of the different methods of starting/stopping a node (promises, callbacks, events) instead of a single confusing example with all the methods in one code snippet.

This makes for easier copy/paste.

Also switches promise method to use async/await syntax.

License: MIT
Signed-off-by: Alan Shaw <91e38e63b890fbb214c8914809fde03c73e7f24d@tableflip.io>
ipfs/node-ipfs