Fixed some possible bugs with error reporting in API.PHP
Merge branch 'master' of https://github.com/picoriley/Quizard-Quest