Move non-exported code to a static library

Authored by elvisangelaccio on May 21 2017, 7:41 PM.

Description

Move non-exported code to a static library

This allows us to speed up the compilation because we don't need to
build twice the source files we use in the unit tests.

Test Plan: Builds, dolphin works and tests pass.

Reviewers: emmanuelp, dfaure

Differential Revision: https://phabricator.kde.org/D5935

Details