Move onresize from just Window to Window and elements

The resize event was added to HTMLMediaElement in http://crbug.com/328140

Add a trailing newline to some files to work around http://crbug.com/307023

Also sync with the list of properties in the latest spec revision.

BUG=330953

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

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