Refactor History to be a standalone service.
Merge pull request #3078 from oskarhane/refactor_history

[2.2] Browser: Refactor History to be a standalone service.