added statusCode to error objects. addresses #47
Merge pull request #48 from 1lobby/error_status_code

added statusCode to error objects. addresses #47