Improved test runners
Fix func args
Function result type should always have a space before it
Fix test
Fix nested-interface spacing
Merge pull request #396 from dlsniper/improve-tests

Formatter improvements
fix a bug that failed to parse embeded struct in single line
fixes terminating statement inspection
Merge pull request #405 from coocood/master

fix a embeded struct parsing bug, and a terminating statement bug
Split the for with range PSI nodes into two: with and without var declarations.
Fixed resolving of identifiers in the range expressions to not look in the vars declared by a for range clause (Closes #391).
Fixed smart enter completion to also work when the caret is in the front of the statements.
Updated tests to match the proper for range semantics.
Add case insensitive collection of variants for identifiers. It should match the behaviour of Java completion. The first char case should match for it to work thou.
Refs: #345