Lots of random small changes everywhere.

- Documentation
- OkCancelDialog now returns bool
- Added OnPreClose event
- Export more view events to the python api
- Made the travis build script invoke the python api generation
- Added methods Save, SaveAs, Close and IsDirty to View
travis: bootstrap go get to get all dependencies first
travis: name that fold just bootstrap (otherwise it included termbox)
minor comment cleanups
Detecting changes in settings and reloading them closes #220
Merge pull request #272 from ZiDoMs/feature/ReloadSettings

Feature/reload settings
Minor fix

Good catch :)
Merge pull request #271 from BenedictEggers/master

Minor comment cleanups
backend/view: Fix deadlock

There were two locks involved here; one for the buffer, and one
for the view. Unfortunate code ordering meant that we'd have one
thread locked one first and then the other, and another thread locking
the needed both locks but locked them in the reverse order.

The view's parsethread doesn't need to hold both locks at the same
time, so moved the view locking operation to where it is actually
needed.

Also added TestStress which was the minimal repro that helped me
track this one down and to ensure that it's not re-introduced in
the future.
frontend/qml: re-enable batching now that the deadlock is fixed
atomic save not working