Test readdata with a file object. Closes #196
Rename the test as it tests writing to objects as well. Closes #197
Detect missing output directories and rebuild dependencies as necessary, fixes #165
Need to install sphinx on travis to build the docs