squash! ScriptFileStorage: root detection change

Yet another improvement of root folder detection. Now we consider a folder
as an application root iff it contains `package.json` file.