Check for puppet executable instead of gem

Rewrite of Issue #134 using native ruby calls that work in windows and linux.
Save puppet version for forge checks