From Viet Nam with love.

This commit fixes Travis-CI build, removes code duplication between
debian/control and CI.
Also now debian package is built and installed as part of test.