DRY out some duplicate code lines

Comparing to approach of @mplushnikov I moved all the duplicate code to the Utilities class in tracee-core.
@danielwegener : What do you think about?