Include line numbers in output

I'd like to add a new `lineNumberRange` field to the output which will be useful in another project I'm working on (https://github.com/joshwnj/inline-docs).
@joshwnj +1, that's also how I understand it. This PR is a feature, not a patch.