fixed: test-git changes global .gitconfig
fixed: tests: tasks with resources fail if they are only run

Reason: condition is inverted.
refactoring: avoid warnings
refactoring: avoid using "if !"
fixed: avoid exception IOError 'closed stream'
refactoring: fix require`s
improve: require 'rake/delphi/version' in 'rake/delphi'