The clustering of galaxies in the SDSS-III DR9 Baryon Oscillation Spectroscopic Survey: testing deviations from \ensuremathΛ and general relativity using anisotropic clustering of galaxies