Updated stram events widget to retrieve last n events in tail mode

Other changes:

- using localStorage to save state
- added check before killing app master
- fixed a d3 issue
- updated the travis build