Add check to know if an agent is disabled

change defaults since puppetdlock is not used anymore
Add top comments to explain the changes

Simple text to explain what could affect a puppet 2.x user trying to use
this script.
Merge pull request #10 from slamont/master

Add check to know if an agent is disabled and rename agent run lockfile