core: use Cache object; debug print adding files
core: added logging, added qx to ldd

- Get a list of shared libraries by calling qx/ldd $filename/
core: make 'name' attribute required