Remove model references for provenance.
Merge remote-tracking branch 'origin/Issue-330-combine-sample-material-Cloned-from-Merge-sample-material' into Issue-330-template-rework

Conflicts:
	backend/scripts/templates/APT.json
	website/app/application/provenance/iosteps/iostep/iostep.html
Reworked code transforming a draft into provenance to make it easier to
test and modify. Updated API calls. Started testing through the website.
Change the data and format of the data we save for processes and conditions.
Remove attributes and push process up a level. Move input_files,
output_files, input_conditions and output_conditions into process.
changes to io step
fixed conflicts
fixed conflicts
change
update
Modify templates to remove unused or unshown properties, and to add new
properties that the backend uses for creating the provenance.
update
Update code to work with moving some attributes to the top level of process.
Merge remote-tracking branch 'origin/Issue-330-combine-sample-material-Cloned-from-Merge-sample-material' into Issue-330-template-rework

Conflicts:
	backend/scripts/templates/APT Sample Preparation.json
	backend/scripts/templates/APT.json
	website/app/application/provenance/process/process-controller.js
Bug fixes from merge.
Update draft broke when we moved process out of attributes, since it was
just looking in attributes for changed items.
Merge branch 'Issue-330-combine-sample-material-Cloned-from-Merge-sample-material' of github.com:prisms-center/materialscommons.org into Issue-330-combine-sample-material-Cloned-from-Merge-sample-material
change
Merge branch 'Issue-330-combine-sample-material-Cloned-from-Merge-sample-material' of github.com:prisms-center/materialscommons.org into Issue-330-combine-sample-material-Cloned-from-Merge-sample-material
adding directives for views