Added the getLastError() method.
Now displaying last error in case of failure.
Merge branch 'master' of github.com:nubera-ebusiness/intercom-php