Implement support for parsed attributes.

This commit is heavily based on earlier work by Bruno Abinader in #2073.
Implement Element.classList (partially fixes #1717).
Implement parsed 'unsigned long' attributes.

This commit is partially based on earlier work by Bruno Abinader in #2073.