From chaotic lines outside the courthouse to the presiding judge who runs a precise schedule, here is how the Tesla CEO's testimony went.