removed WinForms references from UnitOfWorkService

refactored ThreadHelper into an interface

Change-Id: Ibee4a7a9bdcfe6a4a06809b5488f12d16cc659f2