Add nil check for #status_code

Added a fix for `#status_code` when `self.operation` is not set.

Resolves #66
Add nil return to #status_code conditional

Explicitly return nil if neither `self.task` or `self.operation.response` are set.
Merge pull request #75 from chrisradford/patch-2

Add nil check for #status_code