Suppress py3 warnings about unclosed files

Python 3 was printing a bunch of warnings such as:

    src/landslide/generator.py:234: ResourceWarning: unclosed file
    <_io.BufferedWriter name='presentation.html'>
Add travis config file