A month ago they were winless and certain for relegation but then in came a charismatic coach for whom every detail matters