Add support for an option to include ranges in the response

Add an opts.ranges option in order to get a stringRanges response back
from detective, including string locations for the matched strings.
Currently only works for Literals in order to hack in an improvement
for https://github.com/substack/node-browserify/issues/296 .