Clean up autogenerated files & add automatic Travis CI testing

This is in preparation of working on the open security issues.

The pull request is for the master branch (not for dev) as I have noticed that dev has fallen behind a bit. I would suggest dropping dev and continuing development at master.
Stable already has its own branch!

Best regards