fixed outdated indexes on organisation_id with current code in DAO
added synchronized() blocks around ID repository calls to mimic behavior of global update lock

fixes issue with bootstrapfromfiletestintegration failing randomly