small refactoring for search result and dashboard id/title handling
Merge branch 'master' of github.com:grafana/grafana