Added static plugin support...
Added static plugin support
In case of fully static exe even plugins must be static to allow
single file executable.
Small fix, when using resources in app from library they must be
initialized with Q_INIT_RESOURCE.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>