Antiferroquadrupolar Order and Rotational Symmetry Breaking in a Generalized Bilinear-Biquadratic Model on a Square Lattice.