Added ignoredErrorCodes to options for allow ignoring e.g. 401s
Merge pull request #14 from STRML/ignoredErrorCodes

Added ignoredErrorCodes to options for allow ignoring e.g. 401s
More explicitly handle the case where ignoredErrorCodes are not defined
Merge branch 'master' into gh-pages