added a lightweight module for extending objects

* created lib/extend.js
* wrote tests: test/extend.js

supposed to have the same functionality as jQuery.extend()
to be used for parsing options passed to Logtrail constructor
added dev-dependencies

* chai