Grouped autocomands, changed delete autocomand to unload autocomand.
extra check if project is not none when unloading file and saving project
update project when given set of TranlsationUnits for loaded buffers