This change removes the internal "newlog()" method
from DataHandler. All occurrences are replaced
by DataHandler->log() methods, which newlog() acted as
a wrapper for it.
The main downside of newlog() is that the connection
to the actual record (when writing to sys_log) is lost,
and no contextual information is kept.
This change solves that problem by properly setting
the table and record uid to the log method.
The main usages for DataHandler->newlog() are
put into localization and workspaces/versionable
handling. where the "action" is currently set
to SystemLogGenericAction::UNDEFINED, because
there is no specific type for them. Specific action
types have been added for localize, versionize and
publishing.
The next step in this line of patches are:
* Clean up the labels by always using %s or {} for replacements.