add `normalizeParams` function

Currently, there are some issues in signRequest as below:

1. the keys of parameters are not encoded
2. sort parameters before encoding parameters
3. sort by only keys
4. parameters whose name begins with 'oauth_' can be duplicated

I think this change resolves these issues.