added get directory

getDirectory(subFolder: string, options: any, onSuccess: (arg) => any, onError?: (arg) => any);