Consolidate switch statements.
Ignore NUnit GitExtensions.*.sln.VisualState.xml
Merge pull request #17 from fraga/BuildServerIntegration

Merging from master
Merge remote-tracking branch 'gitextensions/master' into BuildServerIntegration
Implement TrySearchRevision.

Closes issue #19.
Hide dashboard when changing repo - it can be called when dashboard is visible. Closes #1763 and #1769.