Fix for specifying querystring without extra params

The bug was introduced in the move to ring-codec as the nil behaviour differed in form-encode

I've added a failing testcase, and then a simple fix to restore the falsy behaviour of ring-mock's encode-params.

I'm unsure whether I think codec/form-encode should blow up like it does or just return nil when passed nil, but I think it's probably ok.