MDL-16043:  ensures cross-db: add lowercase conversion for every database fieldname, merged from 19
MDL-16043:  ensures cross-db: add lowercase conversion for every database fieldname, merged from 19

dilawar/moodle