import directory

also some performance optimization; a StoreActions variant
for batch loading

Also, exchanged ForeignNode for RemoteCache; this will register
the nodestr ++ name so that remote whereis needs to be done only
once for each remote service