Added Exception for invalid JSON Parsing

Added an exception for the json_decode in the readSettings() function.
Merge pull request #3 from Roritharr/patch-1

Added Exception for invalid JSON Parsing