Add .travis.yml file.

Only Qt 4 is available on 12.04 LTS that Travis runs. There are PPAs with Qt 5 but they are not supported anymore. Once Travis is on 14.04 LTS we can start testing on Qt 5 as well.

It's my first .travis.yml so I hope it's correct.