add extend function

This allows extending brief without extending it.  AMD example:

```js
define("thong", ["brief"], function(brief){
   return brief.extend({
     myMethod: function(){}
  });
});
```