Updated $.param to match jQuery implementation

Updated $.param to match jQuery implementation
Refer to link for more details
https://github.com/madrobby/zepto/pull/851