Fixed "double relay" bug and added nyc as a dependency.
This release fixes two problems. First, a form change will now only result in a single model change, regardless of whether material is deleted or replaced. Second, nyc has been added as a dependency, previously the tests would fail if you didn't have nyc installed globally.