Documentation for #50 - setParent and getDomElement

As promised, added the documentation since #50 was merged.