app: Move plugin loader into separate module

Change-Id: I67d5efbfa544a536ac67b4e05ad6fcee014a2514
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>