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

We needed to know if someone forgot to re-enable the puppet agent so I added the functionality to the check.
I also renamed the default lockfile to /var/lib/puppet/state/agent_catalog_run.lock to match latest puppet versions