jshint/jshint — pull request #603 by CarlEkerot (2012-08-02 06:52:04+00:00)
Title: Support for labeled blocks and lonely blocks

Added support for labeled blocks and lonely blocks, which are valid according to ECMA-262.
The following cases are tested and supported:
```
aLonelyBlock:
{
// Labeled block
}
```

```
{
// Unlabeled block
}
```

This fix also prevents the parser from halting when errors are present in statements after which a block is expected (f.ex. if-statements).
For example, the following will report error, but not halt parsing with ```Expected '(end)' and instead saw '}'.``` which it did before, due to the first ```{``` not being taken in to account, and the bracket-matching would fail:
```
if (a < b); {
// Bad if-statement
}
```