Method to get all headers for the error response

Method added to get all required headers for the error response, according to the RFC - the correct HTTP status code and the "WWW-Authenticate" header in special cases.
Variable name fixes + little changes to support unit tests
getExceptionHttpHeaders() unit tests
Merge branch 'feature/http-headers' into develop. Fixes #29