Rewrite the main .pro

First put all the common stuff. Divide configs per OS/target:

 - Let unixes (including macx) have their proper paths, overrideable.
 - Let Windows have a different path scheme.

Then put the project's dependencies.

After that add the subprojects and the deployment stuff.