Update the README and doc building config.

Use mocking for a number of components that are hard to install. This way
the sphinx autodoc won't fail when importing packages that can't be
installed easily (e.g. numpy).