Research into more than 30,000 unpublished drafts and letters casts new light on the inspirational Austrian novelist and playwright.