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