Expose more functionality through the python bindings (#23)

'getSelectionEnd' is still missing, depends on #32