State Preparation and Tomography of a Nanomechanical Resonator with Fast Light Pulses.