cache i	rectory safety checks i thought i pushed
Merge from upstream, add supprt for -Sl and do -Su properly
Merge pull request #37 from Somasis/ng

pkg_tools: add support for -Sl, clean up -Sy/Su a little