Moved some logic back to webdriver core.
Extracted element commands.
Fixed element internal command call
Fixed doc tool