Cleans a la jshint.
Makes cacheable some properties
Refactors SC.UndoManager
Adds unit tests to SC.UndoManager
Moves SC.UndoManager from desktop to foundation