[smarty mode] bugfixes

- escaped quotes in strings now displayed properly
- whitespace no longer affects qualifiers
- parentheses properly highlighted
[vim keymap] 'dd' now handles last line corretly.

Current behavior:
```
word1
word2

```
If the cursor is on the last line and 'dd' is executed, the buffer does
not change.

Expected behavior:
```
word1
word2
```
Update Webkit spanAffectsWrapping hack to recognize some common Unicode punctuation

Issue #1219