phpProxy correction

phpProxy adjusted to handle school parameter
Merge pull request #2 from Kirens/phpFix

phpProxy correction
Moving PDFJS check into promise

Before we load pdf, chech if PDFJS is defined. If not, reject promise and send error message, instead of having a check that just returns and stop the script if undefined.
Merge pull request #3 from JohnTheDaniel/err

Moving PDFJS check into promise
Adding a way to handle (documented) error messages, using a class.
Merge pull request #4 from JohnTheDaniel/NovaError

Adding a way to handle (documented) error messages, using a class.
Merge pull request #5 from Kirens/analysis

Analysis
Week analysis + Errors

Week analysis created, better error handling fixed.