add autodoc, numpydoc and doctest to sphinx to generate API doc
setup API documentation, start by documenting fifos
genlib/fifo: clarify we behaviour when writable=0