Experimental oauth 2 error response

I did a merge from your master and added return codes and the missing "invalid_scope" error.