add TestModelDumps

TestModelDumps compares actual to expected JS. this may help catch regressions
in the compiler. but it's also useful for us to have a corpus of models in
JavaScript that we can look through or grep, for all sorts of reasons

review/merge by @TheBizzle plz