Use clang on travis
Use gcc 4.9 on CI
Make test pass on Qt 5.0
Add missing include
Add Qt5 paths for ubuntu 12.04 used by CI