use tableprefix on gii model generator

use tableprefix on gii model generator so that tablenames like {{%tablename_without_prefix}} or {{tablename_without_prefix%}} is generated.