Kirsty Wark, Ian Rankin and guests at the Edinburgh Book Festival debate the state of fiction and publishing.