Make sure to call before_remove_attribute and after_set_attribute when setting Attr#value

- Fix: https://github.com/mozilla/servo/issues/2025
- Close: https://github.com/mozilla/servo/issues/2077