Working on model.js tests.
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
Split model into API/back-end classes.
Merge branch 'testing'

Testing isn't complete, but I've been using it. Might as well shift it to master.