(HTMLElementImp): Add more details to the 'translate', 'dir', and 'hidden' attributes

src/html/HTMLUtil.cpp src/html/HTMLUtil.h: New
testdata/html-004.html: New for testing 'dir'
testdata/html-005.html: New for testing 'translate'
testdata/html-006.html: New for testing 'hidden'