Add cmake paths to module path in cache. Simplifies tests.
Merge pull request #27 from smspillaz/cppcheck-target-cmake.item_26

Add cmake paths to module path in cache. Simplifies tests.