Improved assertions and const-correctness.
Implemented regression testing.
Fixed bug in regression testing runner.
Fixed handling of --day flag with html subcommand.