fix(check commands): If creating or updating an agent.plugin check, make sure that the arguments details is an array.
Fix silly syntax mistakes. JS is not python.
Merge pull request #70 from racker/jirwin/fix-args-bug

fix(check commands): Make sure to always pass an array when creating or updating an agent.plugin check.