Refactored cache handling for incremental compile
Added (ignored) test for GRADLE-2925
GRADLE-2925: Ensure that headers for all source sets for a binary are included in NativeDependencySet