Add `mergeObject` function and use that instead of node's `extend`

This fixes #66, where providing a configuration object like
`{ user: { password: "taco" }}` would overwrite the `user` property entirely.
This resulted in IRC-js sending messages with `undefined` parameters,
causing a `TypeError` when attempting to serialize these message parameters.