Fix for nailgun eggs install

Change-Id: Ibc16c8233335f1a9542da36efbaabe94d8e3f82d
Small refactoring

Change-Id: I97c550c7df58488cedde35c920057d69f1c5e6da
Implementation of stopping/resetting env in Nailgun

Added implementation of environment resetting

Change-Id: Ib2c8d2f7f570ba4293f7930cf4837a7ec09e222b