Move show_diff from agent to main

This enables show_diff also for Puppet apply - which I use very often for
testing.