Always show spec output for functional tests.
Refactor layers.js to export 1 thing.
Refactor router.js to export 1 thing.
Refactor event-emitter.js to export 1 thing.

Also, rename events.js to event-emitter.js.
Refactor configuration.js to export 1 thing.