MDL-41101 mod_assign: replaced 'submission statement accepted' add_to_log call with an event

Also removed unnecessary add_to_log call.