Fix for dictionaries in params dictionary

I had the problem that I was trying to POST a request with parameters (dictionary) that itself contained a dictionary. With this patch to the NSDictionary category for urlEncoding it works.

(This pull request replaces #308. It was done to isolate changes for this feature from other changes on my master.)