Quicksave before heavy model.js refactoring.

Right now it's just not set up for running multiple Model objects,
and that makes testing painful. Rather than get super-hacky with the
tests, we'll add some functionality that the actual application
doesn't need.
Massive refactoring of model.js to allow multiple independent models.
tweaking model test funcs