Add 'Keep Old History' flag from Ungoogled Chromium

Add the option to keep history for infinite time, instead of only last 3 months.
You can use ug chromium’s flag for this -

You can instead of adding it as a flag make it an option in settings too, it would be more convenient. But if it takes more time, then please just import this patch from the ug-chromium.