added JS code metric calculation
added a bunch of TODOs, e.g. regarding the "Revealing Module Pattern"
enabled JSHint plug-in and fixed a few of its warnings
reverted a couple of changes to get QUnit tests to pass again
fixed some more JSHint warnings
fixed remaining jshints