check_puppet_agent: big update:

Moved finding lastrunfile to after getopts and made it conditional to param -s
Added option to tell script if puppet agent is started from cron or as a daemon (-d)
Switched to use awk to filter values from lastrunfile and set them as params
Updated some comments
Removed bug in search for process (that would previously always find something because grep find it's processline)
"puppet config print lastrunfile" has to be run as root. As normal user it yields ~/.puppet/var/state.

Based on feedback Михайло Масик updated:
- Puppet --configprint => puppet config print (version 3 has new way of printing config)
- Added new pattern to search for process
- Added test kill -0 to see if process is still there