fixed the issue with the json interface for nagios
refactored the nsca cookbook to avoid unnecessary downloads and other little improvements