- Added a logger, which is right now just a wrapper around console.log that can be silenced for tests. (This is so that tests do not put out so much output that they overwhelm Travis.)
- Updated indexer.js to use logger instead of directly calling console.log.
- Updated npm test to clear si directory before start and to use NODE_ENV=test.