Autoselect related fields

Autoselects the appropriate fields in a detail view. Designed to resolve https://github.com/OSU-Net/cyder/issues/93.