Astronomical Wavefront Sensing with Partially Coherent Beacons