lib: document nextTick queue internals
Make this code (a bit more) comprehensible by adding some internals docs.
It has diagrams and everything.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines