Nonempirically-Tuned Density Functional Theory Approaches For Accurately Predicting Electron Affinities And Halogen-Bonding Interactions