Attach an empty Directory to Promise returned by navigator.getFilesystem() synchronously.
Remove Window class. Plan to save Window in Filesystem class.
Add FilesystemParameters detection in navigator.getFilesystem()
Add common logging function