Check permissions before deleting timeline event.
Added the `delete_timeline_events` to the default permissions generator.
Added the `delete_timeline_events` to the install.sql, upgrade and language files.