Modified caching system to allow caching outside of when a rule is executing.
Changed c module to store extra dependencies in the emk scope cache instead of a depfile.