fileservice_lib: Added to fileservice a new query argument "return". If "contents", then this will behave as it always did. If "listing", then it will return a dir listing, even if it is not a directory. This will be used to get info about a file before getting its contents. For now, "contents" is the default to be backwards compatible with the client, but "listing" will be the default.