Declare an event which can then be registered for and triggered. UltraLite predefines some system events triggered by operations
on the database or the environment. The event name must be unique. Names are case insensitive. This method throws an error
if name already used or invalid.