[Github Issue #7] -- Error handling json and file_get_contents
Some changes to .gitignore