Get tests working

* Add a devDependency on libapps, so we can get at the libdot test
  manager.
* Generate a wam_package_version.js
* Templatize the test harness so we don't need to duplicate the
  files list, but also don't need to test from concatenated source.