Fragment parsing and saving seems to work ok. Tested with public/uploaded_mzid_files/examplefile.mzid. Also fixed some has and belongs to associations for sir. Also fixed sar controller and sar index view