use Option instead of Vec as wrapper for optional Weak. This is more sane and also fixes some of the "still reachable" leaks reported by valgrind.
implement Document. Change some submod visiblity. Remove some test stuff.
implement PartialEq for Element's by simply assigning each instance a uint for use in comparison
implement remove_child()
comments