Scripts: Add new helper to find packages in need of rebuilding
This will analyze the index and find anything with an old history and
flag it for rebuilds due to probably being manky. Right now the time period
is defined as 31 days but that could be extended if needed.
Signed-off-by: Ikey Doherty <ikey@solus-project.com>