The first female editor of the 240-years-old Scottish newspaper says diversity is key to future-proofing the media