use static libs to near zero compilation duration.

WIP, because the current implementation broke the coverage report.
Investigating.
fix compiler/linker flags

restore dynamic export and coverage support.
Merge feature/staticlib
Merge branch 'feature/staticlib' into develop
Merge branch 'develop' of https://github.com/rugginoso/rapp into config