Choose the 'best' control when grabbing an object.

Currently, getActiveControl() just returns the first of all highlighted objects, which is not always desirable and leads to unpredictable results. This feature tries to choose the control with the greatest degrees of freedom (which seems most appropriate for a 6DOF input device like the Razer or Omni).