WebApp: Remove chrome/browser/ui dependency on web_app.h

Most callers in chrome/browser/ui need just one helper:
GenerateApplicationNameFromExtensionId

All callers in chrome/browser/ui need just 3 helper functions from
chrome/browser/web_applications/web_app.h.
(See the CL code)

So let's move out these helpers. (No changes in behavior)

This change will allow us to break chrome/browser/ui dependencies on
chrome/browser/web_applications root target.

Also: this CL removes circular dependency between shell_integration_win.cc and
web_app.h

Next steps:
1) Remove web_app.h dependency in create_application_shortcut_view.h
2) Remove web_app.h dependency in shell_integration_linux.cc

Bug: 862049
Change-Id: I53242317d73cc3df5aae0bb61d17aa288fd51821
Reviewed-on: https://chromium-review.googlesource.com/1137953
Reviewed-by: Devlin <rdevlin.cronin@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Trent Apted <tapted@chromium.org>
Commit-Queue: Alexey Baskakov <loyso@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575506}
37 files changed