KT-4889: (Bug Fix) Intention to move lambda literals outside of parentheses

bug fix for this issue http://youtrack.jetbrains.com/issue/KT-4889
and a couple of tests for it