added line numbers to log output
Cache: add virtual/static files directly to cache

- Added lots of verbose debugging info to log statements
- Added recursion for non-virtual files in _query_ldd
- For virtual and static library files, add them to the cache
  directly, then skip to the next file in the dependency list