Coalesce pending motion events.

Commit d4ec7a5a57 removed this upstream logic. There is not any reason to remove
it, so this PR revives the logic.

BUG=https://github.com/crosswalk-project/chromium-crosswalk/pull/37