more features for the location system

The location system emerges to a general usage abstraction of local and
remote file systems. The current implementation wraps java.File and
jcifs SMB APIs but the abstraction is way beyond those two apis.