Filter out unlisted packages.

Additional fixes:
- Update build.cmd to add the restore step.
- Fix a possible null reference in exception handler in PackageDetailControl.xaml.cs & PackageSolutionDetailControl.xaml.cs.
- Compare projects by comparing their unique names.