Replace None values with "NULL", fixes #1

Replaces None with "NULL", so that results from the database are presented in a manner consistent with SQL.

Especially useful for lessons that stand alone, rather than following Python lessons.