Fix EMFILE error when running on Android (#3277)
Fix EMFILE error when running on Android (#3277)

During running on Android, CLI tries to take smart decision which files to upload. This is done by checking the shasum of all project files and comparing it with the latest one uploaded to device. However, in huge projects, this leads to error with code EMFILE as the OS have limits for opened file handles.
This happens as CLI executes the operation simultaneously for all files. In order to fix this behavior, execute the actions by chunks (currently set to 100).
Introduce new method in helpers to execute this action and add tests for it.
NathanaelA/nativescript-cli,NathanaelA/nativescript-cli,NativeScript/nativescript-cli,NativeScript/nativescript-cli,NathanaelA/nativescript-cli,NativeScript/nativescript-cli,NathanaelA/nativescript-cli,NativeScript/nativescript-cli