Added swap space, entry to hosts file, and two npm packages to fix boot up.
Added check for NULL response when trying to decode the JSON data.
Merge pull request #1 from forevermatt/master

Added error handling for null response from json_decode. Improved vangrant-setup.sh.