Add tests from chapter into build.
More restructuring and cleanups.

* Models goes in common.
* Logic goes in analytics, although website uses it... hmm....
* Testing dependencies float around the various build.sbt's.  Cleanup coming.