Adjusted so that a module should now return itself from the function

Adjusted so that a module should now return itself from the function, instead of modifying 'this'.  This allows the creation of new constructors as modules since they cannot otherwise be assigned to 'this'.

Example usage:

    module('View', function () {
        return function (opts) {
            // here be dragons...
        }
    };