Make DOMImplementation.createHTMLDocument implementation more spec aligned

According to specification, if the title argument is not omitted:
    *)Create a title element in the HTML namespace,
        and append it to the head element created in the previous step.
    *)Create a Text node, set its data to title (which could be the empty string),
        and append it to the title element created in the previous step.

spec: http://dom.spec.whatwg.org/#dom-domimplementation-createhtmldocument

So this CL modified implementation from setTitle to create and append.

TEST=LayoutTests/fast/dom/implementation-createHTMLDocument.html

Additionally, with this CL, DOMImplementation.createHTMLDocument test
at http://w3c-test.org/dom/nodes/DOMImplementation-createHTMLDocument.html
will be passed.

Review URL: https://codereview.chromium.org/366883003

git-svn-id: svn://svn.chromium.org/blink/trunk@177379 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: DataGrid: remove duplicated implementaion of nodes sorting.

BUG=

Review URL: https://codereview.chromium.org/353363002

git-svn-id: svn://svn.chromium.org/blink/trunk@177380 bbb929c8-8fbe-4397-9dbb-9b2b20218538