Handle array param values and sort after encode
Fix bug in param key compare logic.
Rewrite parameter normalization to be more readable
Merge pull request #6 from hyjin/master

Handle array param values and sort after encode