Added CI script

- support for coveralls.io in .travis.yml
- stricter compiler warnings
- fixes for warnings