history api can pass null to not null field via log_event_special.

Additionally, we pass in '' to bug_unmonitor to unmonitor all users
on a bug [used by bug_delete]
moved to using normal if construct as we try to avoid ternary operator.