Fix the container test

Fix require paths.
Remove test for `dumpContainerDefs`, which doesn't exist any more.
Remove obsolete `repositoryToken` specific
Test basic builder functionality
Remove outdated tests
Add missing legalities
Refactor kernel to be more testable

Don't start the server right away when we create an instance of the
kernel, export `start` and `stop` functions to do that instead.
Add basic kernel boot test
Use `package.json` scripts instead of Gulp for tests

Don't depend on global packages being installed, add `mocha` and
`jshint` to `package.json`'s `devDependencies`.
Simplify sysrevMeta boot
Extract `sysRepoPath` and `systemsJsonPath` into outer scope
Add a helper for creating a temporary directory
Require lodash, not underscore
Fix a bunch of cases in sysrev test
Create and pass a bunyan logger to `Sysrev`
Remember system ID instead of using `sysrev.sid()`
Remove unused `sysrev.sid()`
Test linking a directory with no `system.json`
Merge remote-tracking branch 'origin/fix_first_run' into fix-tests

Conflicts:
	lib/sysrev/sysrevMeta.js
Test linking a valid system
Remove commented out tests