Fixed memory leak in ScopeFX version

... by reverting ScopeSyncApplication back to being a namespace and
moving the instance functionality into ScopeSync