Refactoring. Reduced the usage of bad getProgress==x in favor of isProgress(x)
Changed test to use the same management mock. Improved cleanup on uninstallservice
Refactored mock creation to beforeMethod
Refactoring to use StateReader and StateWriter interfaces
Integrate rest-kvstore to replace MockState