Search for items matching pattern in history
pattern
a Client instance
the pattern to look for in history
a newly allocated list of items