Fixed the missing "Delete Tree" link in the study view. Also added user authentication fix so Delete Study and Delete Tree links won't display unless user is contributor.