Small improvements to Makefile

- Rerun tests if they failed last time
- Run lint as a part of the test-unit target
- Only run lint for files that have changed
- Only supply test-int files to phantom (don't give it node_modules, etc.)
Add test coverage for integration tests