According to new documents, the Uber self-driving test vehicle had software flaws and was involved in 37 crashes before the fatal incident that killed a woman in Arizona.