Renamed DAOFactory.stg to BaseDAOFactory.stg and implemented DAOFactory as an interface. The tests hardcode the package names so they don't match with the TemplateDef's. They should be refactored.  refs #424