Need Braces, added option which allows one line if-statements without br...

...aces, issue #300

According to #300 

Added option which allows one line if statements without braces.
Added UT and corresponding input containing such cases.
Updated JavaDoc