Added className argument for naming classes

var MyClass = Class.extend({
...
}, "MyClass");

console.log(MyClass); 
// old version prints [function Class]
// new version will print [function MyClass]