Fix value returned by Travis if job is not a Pull Request
Refactor test_redirectories() function as parse_comments()

- fix usage of test_directories()
- parse included PRs (by number) in travis-merge using "--depends-on"