Set the staging domain from a setting
Set staging_domain to a blank string if it is falsey
Corrected spelling error in Readme

s/contends/contents
More clear logic
White space cleanup. Hat tip to @evansolomon.
Merge pull request #6 from pixeljar/master

Corrected spelling error in Readme
resolving merge conflict
adding a utility function to DRY up the code