introduce a paused state for virtual machines
enforce virtual machines have been powered off when starting them
one task can have several errors in the database
implemented support for dead machines
small cleanup and typo fixes