Format functions with function literal arguments (KT-2934)

 #KT-2934 Fixed
Better indententation on enter in lambdas
Fix spacing after return (KT-4947)

 #KT-4947 Fixed
Don't remove linebreak after smb. else's statement }
Minor: remove warning
Persistent formatting settings
Add space between 'when' and '('