add default type management and generation of cursor wrapper for sql view

use more data of Meta Info to generate a cursor wrapper with more default values
generate cursor wrapper for sql views