Fixed class value in result-set extractor templates. Working on BaseDAO.stg. refs #498