introduce a function executed when archipel stops.
this function removes the hypervisor from the central db in case it
exits gracefully.

Also some tests added to test this behaviour.