Merge branch 'feature/LineCommands' into develop

* feature/LineCommands:
  Added split_selection_into_lines command iss #91
  Added select_lines command iss #92
  Added swap_line_up iss #64 and swap_line_down iss #65 command
  added basic tests for line commands
Merge branch 'master' of https://github.com/limetext/lime into develop

* 'master' of https://github.com/limetext/lime:
  bundle galore
  backend/commands/line*: remove executable mode bits
  Add python.tmbundle subproject
  Add gofmt script for testing
  gofmt fixes
  travis: Add rubex directory to PKG_CONFIG_PATH search directory.
  backend/textmate: Fixes for go1.3-ish map changes.
  Fixed formatting on import statements
  fixed qml import line to new version
  Refresh qml when the file name changed
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
Adding save and save_as command but there is a problem with view SaveAs method
atomic save not working
Documentation
Fixed atomic save problem, added tests for pre and post save events
Merge pull request #275 from ZiDoMs/develop

atomic save not working
Merge branch 'develop' into feature/save

* develop:
  Fixed atomic save problem, added tests for pre and post save events
  Documentation
  atomic save not working
Finished Save & SaveAs command
Fixed window.Views() bug