Send a backspace before clearing fields with JavaScript.

This ensures that appropriate events are fired in the browser without causing performance problems.

Fixes jnicklas/capybara#1028