Adds global variables, json parsing, and ground-work for character builder/loader

Because this would cause a crash. This doesn't seem like something we should crash for. Instead the function simply returns, and the character isn't loaded. Also the error message is displayed in the console, if dev is enabled.