qt: add license header to source files

Closes #839
Merge pull request #3197 from laanwj/2013_11_qt_license

qt: add license header to source files