Refs #145 - Refactor code to handle Exceptions better and ensure correct exception codes.
also
- deprecated Normalise class
- fixed the issue of install script hanging if it regenerates the JWT PEM keys.
- added required PHP extensions to composer.json
also