More tests for Connect class
Starts to implement response validation
Adds more response validation tests
Adds jwt lib, removes support for php5.4
Centralises validation in one method
Adds more response validation checks
Completes first implementation