Added notion of testmode and testing functions.
maybe_start/maybe_stop scripts.
Making gitter easier to test.
Figured out testing mechanism. Added first gitter tests.
fixed make stop bug
open WRs in a new window (unrelated to testing).
fixed gitter timing problems in tests.
Merge branch 'master' into testing
finished basic gitter examples.
Moved db.js into lib.
Merge branch 'master' into testing
Skeleton of model tests. Refactored some common testing funcs.
disable gitter for basic model tests.
Dealing with the dark side of Mocha.

Mocha appears to do brain dead things like merge all tests into the same
environment. I was getting model.js stuff happening during the execution
of gitter.js, which makes it p. annoying to set up the global config state
in a sane way before each test!

Enter aaa_set_globals.js
trailing whitespace...
Merge branch 'testing'