make attr getters/setters case insensitive (#1962)

(See https://github.com/mozilla/servo/pull/1968)