Added panic handling and better error capturing in agent
[#61007794]

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
Introduced debug logs when shelling out
[#61007794]

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
Made logger an object
[#61007794]

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
Added debug logs to file system
[#61007794]

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
Added NATS logs
[#61007794]

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>