Make the ColorOutOfRange exception factory public

Publicity of def declarations now seems to be important for some
declarations in dialects. This change makes ColorOutOfRange accessible
to modules using objectdraw as a dialect.
Move the eventLog class to the outermost scope

There was no reason for the eventLog class to be nested inside of
another one, as the objects it creates are not dependent on that scope.