At this year's Edinburgh international book festival to discuss her novel, The Children's Book, AS Byatt spoke to Charlotte Higgins about religion, reality, her hatred of diaries and why she is eager for someone to write a novel about the discourse of Facebook and Twitter