Allow access to home kotlin project dir in convert tests
Refactoring: move method to rules
Formatter: empty lines between declarations
Make line break before '}' optional

 #KT-6142 Fixed