Refactored the type system.
Refactored the type system.

The pattern is no longer
SomeNamespace.SomeType = function() {};
SomeNamespace.SomeType.registerClas('SomeNamespace.SomeType');

but
var $SomeNamespace_SomeType = function() {};
Type.registerClass(global, 'SomeNamespace.SomeType', $SomeNamespace_SomeType);

This will help implement module exports (and the $SomeNamespace_SomeType variable can be minified).

Saltarelle/SaltarelleLinq,Saltarelle/SaltarelleLinq