Remove usage of deprecated Object::New and Integer::New calls from tests

BUG=none
TBR=dcarney@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164450 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove raw DOM templates from V8 bindings

- I don't think we need to distinguish DOM templates from raw DOM templates.

- A raw DOM template and a DOM template are the same objects. The only difference between the two templates is whether we require the template to install DOM attributes/methods or not. When we call rawDOMTemplate(), it means "Please return a DOM template. It's OK if the DOM template hasn't yet installed DOM attributes/methods". On the other hand, when we call domTemplate(), it means "Please return a DOM template after installing DOM attributes/methods".

- Thus it is worth having both rawDOMTemplate() and domTemplate() only if there are situations where we need a DOM template that hasn't yet installed DOM attributes/methods. However, as far as I read the code, there wouldn't be many situations like that, because we normally call domTemplate() and install DOM attributes/methods when creating the first wrapper of the DOM object.

- In summary, there wouldn't be a situation where we gain performance by having rawDOMTemplate().

Given the above, this CL removes rawDOMTemplate().

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

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