Fixes and docstrings

Moved return code checking from jobs to get_cygwin_path (#22) and improved
docstrings for sphinx autodoc (#17).