Revert "Fixes #3760: Gii model generator now imports classes when necessary instead of using fully qualified class names"

This reverts commit 0c8faedd3310ace47943c7358032c3a6431eafb2.