Add constants for casperjs script exit codes
Use new objc dictionary syntax
Fix handling of killing Captive Network Assistant
Make PATH env a constant