css/definition: some fixes
css/unit: return 0 on nil.to_u
dom/element: improve #add_class and #remove_class
dom/node: implement #detach and use it in #remove