Extracted parameter object DirectoryParams

Extracted parameter object DirectoryParams from the long parameter list
in the getDirectory method in InfoManager. The parameter object
includes the following attributes:
 private final DataResponse<ArrayList<FileLocation>> response;
    private final String path;
    private final Context context;
    private final int mediaType;