Added flag for determining if an exception can be redirected
Added exceptions for unsupported_grant_type
Added code for automatically handling exceptions
Fixed a few bugs
Added verification for grant_type and converted the rest of the exceptions