fixing detach deadlock on NC

Deadlock was introduced on May 1st, when changing how
hypervisor lock was acquired and released.
Merge branch 'testing' of git+ssh://git.eucalyptus-systems.com/eucalyptus into testing