refactor ExtensionManagerViewModel.

This is to prepare for further refactoring in support of consistent view
between multiple views.
Merge pull request #4426 from adobe/dangoor/registry-model

refactor ExtensionManagerViewModel.