updates the SITSImport task to import any crs code found in the xml for a given course and uses that as the KISCOURSEID, note this avoids updating courses which arew currently being edited and makes a new live revision if it does update the KISCOURSEID
fixes an issue where the creation of the api index fails if the the programme fields if it fails to find expected programme fields in the database. (these are added at runtime and not via migration so there is the potential for drift)