Make sure all error properties are preserved when converting into an Error object.
Merge pull request #37 from uber/keep-all-error-properties

Keep all error properties