Add travis test

Make snap_tree respect root
Add requirements.txt
Make test files after directory is created
Merge pull request #3 from sharph/feature/travis

Feature/travis