Trove of documents unsealed in NYC mayor s criminal case offers a glimpse of thwarted investigation