refactored event next_occurrences method, again
updated .travis.yml to run unit tests before integration tests