window: document each event mask (make golint happy)
Add travis-ci file.