Fixes #521, Refactored WindowId usage

Basically all models that extend from BaseModel have their set method overridden so that attributes enumerated in `Model.prototype.windowIdProperties` will be transformed into instances of WindowIds. This allows for more uniform datatypes throughout the console.