Implements Attr#nodeValue

Fixes #4047, and updates to expect tests that are now passing because of it.