Nonparametric independence tests in high-dimensional settings, with applications to the genetics of complex disease