Fix exception when OUTPUT_DIR is missing.
Doc updates.
Tox and nosetest config updates.