Created/modified getPDF

Function at page onload modified to function getPDF which comunicates with the
pdf.js api
Merge branch 'master' into structure

Encountered conflict, will resolve in next commit

Conflicts:
	js/NOVAXML.js
Conflict resolved
Main stucture added

Constructors added.
Merge pull request #1 from Kirens/structure

Structure
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.