added repository and minimal version of romanpitak/php-rest-client
exception handling