tests added
 for inference for delegated properties
small refactoring
changed resolution candidates order

for foo()
first try 'this.foo()', then 'foo()'
no 'dangling function literal' check for nested calls
removed explicit type arguments
 from delegation tests where possible
refactoring
extracted variables
added method 'replaceCall' to ResolutionTask
removed unused parameter
added generator for resolve tests
better message if a resolve test fails