Revert "Finding an <object> element by name only works it has no children other than <param> elements"

This reverts commit 0e0a6fd6f7b0f1b34c474e785068eb5e59f6ceb3.
It broke some websites, including http://map.d.co.il where the map no longer shows up.

R=tkent
BUG=319662

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

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