All source files now use only use spaces for indentation.

Added Utils.isdir() to check whether f is directory.

There are now two functions to get fully resolved path names.
Utils.rpath(d, f) resolves d + f, throws if it doesn't exist.
Utils.npath(d, f) resolves d and appends f to it. This works even if
the file f does not exist.