jshint/jshint — pull request #558 by joelrbrandt (2012-06-22 21:16:10+00:00)
Title: Add reporting of starting/ending character for functions

JSHint currently reports the starting and ending _line_ of functions (in the object returned by ```data()```). However, it does not currently report the character offset on the line.

So, for an input like this:
```javascript
function foo() { return function bar() { return 1+1; }; }
```
it's hard to tell whether foo is nested inside bar or vice versa.

This change adds **character** and **lastcharacter** members to the objects in the 'functions' array.

So, for the above example, the output of ```data()``` looks like this:

```javascript
{ functions:
[ { name: 'foo',
param: undefined,
line: 1,
character: 14,
last: 1,
lastcharacter: 58 },
{ name: 'bar',
param: undefined,
line: 1,
character: 38,
last: 1,
lastcharacter: 55 } ],
options: { indent: 4, maxerr: 50 },
globals: [ 'foo' ] }
```