Avoid undefined values on query parameters at 'serialize(obj)'

From an object like:
```js
var params = {
  hello: 'world',
  bye: undefined
}
```

the result should only be `hello=world&bye=undefined` if `bye: 'undefined'`