Implement Attrvalue

Gecko reference:
https://mxr.mozilla.org/mozilla-central/source/content/base/src/nsAttrValue.h#77

Currently supporting UInt, String & TokenList value types.

Closes #2024.