CommonJS wrapper for custom code

Let custom modules also have the benefit of the CommonJS modules. A module could look like this:
```js
Z.custom = function (require, module, exports) {

    // init function
    return function (config, ready) {
        
        // instance
        var self = this;
    }
}
```