dom/builder: make it compatible with markaby
dom/element: fix #class_names
spec: add some DOM builder specs