Move source files to src/ dir.
Rearrange/clean up pro file.
Add qmlapplicationviewer.
Fix all errors/warnings for build.