Moving requireall into a global module and added "smart" detection.

Used process.argv[1] to determine the full path of without having to
specify where the System folder is at in every require.
Formatting fixes, exception replacement, and porting
More porting things over!

Porting some of that C#. Had to rewrite how Connection behaved due to
the way Javascript works over C#, and also because my C# implementation
sucked... Like what was I thinking?