Versioning, testing/packaging improvements

- Added git-based versioning scheme
- Added more automated testing
- Bundle Qt in debian package to reduce reliance on debian repos
- Travis CI builds against Qt4 and Qt5 as verification