Update to Model.has()

Replaced call site get('attr') within has() with this.attributes[attr] to improve encapsulation and thereby allow a subclass to override get.