The John-Nirenberg inequality for Qa (Rn) and related problems