Made getJSON reject on all but HTTP 200.
Added a test for getJSON.
Added git repo and devDependencies to package.json