Componentize history_types.{cc,h} and android_history_types.{cc,h}

Move history_types.{cc,h} and android_history_types.{cc,h} to the
history component and create a new target history_core_android.

BUG=371816

Review URL: https://codereview.chromium.org/584013002

Cr-Commit-Position: refs/heads/master@{#296684}
99 files changed