Create util.php with is_null_date() function

Factor out null date checks ("0000-00-00" or "")