role: introduce roles and leases
engine: switch from lock to role lease
registry: remove dead locking code