added testcase
added method to quote oauthlib unsafe characters
moved conditional import to compat module