Merge develop into feature/rbac. Fix errors related to log_events for
javascript client error logging.
Delete obsolete migration