Added new primitive: log_message().

  This will write to the logfile, when debugging support
 is present.