Hide sidebar when focusing input bar

This is for mobile
Update angular version from beta 8 to beta 18

ngFocus is broken in beta8
Auto-close keyboard when opening sidebar (bufferlist)

This is for mobile
Fix word breaking

Use break-all to force breaking in all browsers.
Merge pull request #409 from glowing-bear/hide-sidebar-onfocus

Sidebar focus fixes
Embed Dropbox images

We need to pass a parameter, "?dl=1", to get the actual file
Check GET parameters in image embedding

This is a great candidate for the tests!
Merge pull request #411 from torhve/wordbreak

Fix word breaking
Don't watch for changes on existing lines

How did we miss this angular 1.3 feature? 
It appears to be a bit similar to bindonce, but also works in ng-repeat!

See https://docs.angularjs.org/guide/expression#one-time-binding
Wrap inlinecolour filter in $sce.trustAsHtml

This is required because bo-html is unsafe whereas ng-bind-html requires
"safe" HTML (ng-bind-html-unsafe is deprecated since 1.2)
Remove bindonce for Angular 1.3 One-Time Bindings
Merge pull request #414 from glowing-bear/plugin-fixes

Image plugin fixes
Merge pull request #418 from glowing-bear/kill-the-watchers

[PLS TEST] Don't watch for changes on existing lines, s/bindonce/angular one-time binding/
Delete bindonce file and mention in README
Delete bindonce mention from README

Actually stage the change this time m(
Handle keypress events as well

keydown is not enough, because browsers. A (very very very) long
explanation that I read in part is at http://unixpapa.com/js/key.html

E.g. on my keyboard layout (neo2), I don't get a keydown event for alt+<,
which in QWERTY keys is alt + caps lock + u (or the key above shift next to
enter on the right side, which actually isn't present on QWERTY (not ' but to
the right of it - it's not there on a US layout, but it is # on QWERTZ). I do get
a keypress event though.
Fix history keybindings for keypress

because ASCII != keydown code in JS m(