Added functionality for distance along a support wire
Restructured interface a bit for distance, ratio, and extremity widgets to handle the different input combinations better.
Restructured code for ReferenceWidget class