Refactor the pygments util function into their own module

Ensures that cdiff does not fail if pygments is unavailable