The second and third moment of L(1/2,χ) in the hyperelliptic ensemble