Disabled setting of the Authorization header when making cross origin requests.
Disabled removing of token when cross origin request results in a 401 status code.
Fixed the check for "same origin request".
- Added config options requestFilter and responseFilter.
- Added tests for configuring requestFilter and responseFilter.
- Setting shared.requestFilter to config.requestFilter or the default intercept filter.
- Setting shared.responseFilter to config.responseFilter or the default intercept filter.
- Added tests for the default request and response filter.
- Set requestFilter and responseFilter on config if not already set.
- Using authProvider.requestFilter and authProvider.responseFilter to filter requests not to be handled by satellizer.
Merge branch 'fix-cors-issues' of https://github.com/kristofferahl/satellizer into kristofferahl-fix-cors-issues