Adding detailed-exitcodes option

Kafo and foreman-installer currently exit with error codes same as puppet
which is okay, but we call puppet with --detailed-exitcodes. This is
unexpected, it would be nicer to have the very same option (I also made -x
as short option for those who plan to use this regularly) in the
kafo/foreman-installer as well.

WARNING: This changes behavior of exit codes and we need to patch
foreman-installer and node-installer first.

I would like to get this before 1.3 release, if anyone can help me with
foreman-installer part, I would appreciated.