Development And Application Of A Grating Interferometer At The Cornell High Energy Synchrotron Source