pylint and pep8
Adds check for sysprep completion
Minor refactorings
Adds clean service shutdown on Windows
Avoid stopping the service in case of reboot