First round of modularization: Utils.

The Util object is now in its separate .js file as a separate module. It still puts a 'Utils' object into the global namespace, which is not ideal; that may change.