Support release lock when vm stop
Support release lock when vm stop

It may delay a few seconds for vm stop event, so add event to
sharedblock evenet registerer directly may cause problems.

Add vm operation judger to help sharedblock releaser desicde
whether it need release.

Also fixed sanlock lock type judge.

Resolves ZSTAC-19473
Resolves ZSTAC-18196

zstackio/zstack-utility,zstackorg/zstack-utility,zstackorg/zstack-utility,zstackorg/zstack-utility,zstackio/zstack-utility,zstackio/zstack-utility