add autocomplete for model class field

Instead of using AJAX, I suggest using pure javascript code to generate the class name. You may refer to the code for Yii1 here: https://github.com/yiisoft/yii/blob/master/framework/gii/generators/model/views/index.php