Range.comparePoint should throw TypeError when refNode is not an object

SPEC: http://www.w3.org/TR/WebIDL/#es-interface

A failed test case will be passed with this CL in
http://w3c-test.org/dom/ranges/Range-comparePoint-2.html

TEST=LayoutTests/fast/dom/Range/range-comparePoint.html

Behavior in other browsers.
*)FF: PASS
*)IE: PASS

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

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