q-Integral and Moment Representations for q-Orthogonal Polynomials