add events + tests - fix #28
add events to CLI + tests - fix #29
update doc with events examples
prepare release 1.4.0
bump version to 1.4.1-dev