Moved all usages of RoleEnvironment to AzureRoleEnvironment in preparation for injecting that as a dependency to make things more testable
Also refactored the codebase to allow for inversion of control for the creation of the SyncService