Bug 1038129 - Gear is not started after restore when hot_deploy marker is present

When restoring a snapshot of gear with hot_deploy marker present, the gear is not started after successfull restore.

Fixed that and added cucumber test for that