Many improvements

- introduce resource types for more seamless usage of various resources
- prepare reliable batch mode in plugin with tests
- more tests
- make algorithm more elastic in use (can change with different algorithms)
1 job for develop in 22 seconds (queued for 2 seconds)
Status Job ID Name Coverage
failed #835


Name Stage Failure
test Test
Skipping Git submodules setup
Restoring cache
Downloading artifacts
Running before_script and script
$ chmod +x ci/ && ci/ $(whoami)
/bin/sh: eval: line 88: ci/ not found
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 127