Add 'allowSingleLine' option to brace-style.

- Include initial test cases.
More test cases.
Add docs for one-line form.