Implement DOMStringMap

This is a sub-task for #2974.