Allow non-oauth2 errors to be handled similar to RestTemplate

This code fixes the error handling issues discussed at:
http://forum.springsource.org/showthread.php?134357-Custom-ErrorHandler-with-OAuth2ErrorHandler