Move blink::Resource::Type out from blink::Resource, as blink::ResoureType.

This CL makes it possible to forward-declare ResourceType, and we can reduce
header sizes by avoiding #include "resource.h".

- Remove kLastResourceType, which is unused now.

- Rename ResourceType in frame_fetch_context.cc to MainResourceType.

- InspectorPageAgent::ResourceType has the same name as new ResourceType. We
  specify the new one as "blink::ResourceType" only in inspector_page_agent.cc

This CL reduces pre-processed header sizes of some popular headers
significantly.  For example:
- content_security_policy.h: -0.58MB
- layout_object.h: -0.55MB

Bug: 242216
Change-Id: I30771361ce7788e4c88c73f670f0f8fc87b3a08e
Reviewed-on: https://chromium-review.googlesource.com/1214980
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#590907}
75 files changed