Add helper ruby functions to improve maintanability
Story
- There is lots of repetition with the search function that returns items
- Add the ability to pass helper scripts/functions to the nuix connector script and then re-use those functions across the steps
- Removes code repetition and improves maintainability