Allow line comments at the end, store as attributes
Implement some mainfile manipulation
Update the mainfile when we create a component
Rewrite insert_component to have a matching gadget_likelihoodfile_update
Didn't document extra mainfile option
Create areafiles with gadget_areafile
Remove test repetition
Add an integration test that writes files as well