Add support for generic lookups with radio field

Use of $(elem).val() for lookup_link generation doesn't work if
the content_type field is also in radio_fields. This change
checks $(elem).find(':checked').val() if $(elem).val() is false