adds the DirtyModel plugin
restmod: fixes abstract model generation bug
model_builder: fixes reference to masks
dirty plugin: adds spec