Fix: a minor bug in generating automatic interface type for Dao class and instance types;
Add: a few minor improvements/fixings to the support for const type.