In setSelection, default bias direction when not given

Issue #1743
Fix failing tests from 6d1b5c4dafd60cc02eccf1d947e8c57e6afed8b9
Counteract idiot frameworks that set box-sizing to border-box

Issue #1060
Handle remaining special case in Chrome 29+ word wrapping

Issue #1791
[toml mode] Add