add simple pkgDepCache observer

Another WIP pull request to get feedback :)