Extended refactoring function 'Remove unused import statements'

It does now remove and sort import statements inside of child scopes.