added checking of statusCode to request-promise
Merge pull request #18 from flyvictor/status-code-checking

added checking of statusCode to request-promise