Refactoring according to package format 2

- Some minor improvements in Cmakes and package.xmls
- Add a .jenkins.yml in order to test this repo in our Jenkins CI
- Also resolves #1