KRACOEUS-8181: convenient way to clear pessimistic locks to make it easi...

...er for testing.
because then every view would either have to say merge=true or manually include the script file.