style: add some name to DO_NOT_PRINT_FUNC list
exam_lib: order words by exam stats
db: change server_default to default for column sha in table File
db: add Table history, fix relationships

Table history is created for stats
db: several minor fixes