generally faster javascript parser
some cleanup and comments
some microbenchmark updates, slight speed improvement
added fallback if missing Buffer.concat()
fixes #218 by expanding last argument array only for sadd command

Also adds a test that uses SADD in caps. Nicely enough, this makes
multi_bench.js run just a tiny bit faster :)

Signed-off-by: DTrejo <david.trejo@voxer.com>
fix all but lrange 20k
update for style changes
Fix tests w/ support for array as last arg and no errors

Signed-off-by: DTrejo <david.trejo@voxer.com>
package.json: remove optional hiredis dep

Fix #258. Also adds keywords hash and more info to
the description hash.
Merge pull request #266 from mranney/rm-hiredis

package.json: remove optional hiredis dep
Merge pull request #242 from JerrySievert/master

a generally faster javascript parser
Whitespace and other JSHint changes.
Many contributed features and fixes, including:

* Pure JavaScript reply parser that is usually faster than hiredis (Jerry Sievert)
* Remove hiredis as optionalDependency from package.json. It still works if you want it.
* Restore client state on reconnect, including select, subscribe, and monitor. (Ignacio Burgueño)
* Fix idle event (Trae Robrock)
* Many documentation improvements and bug fixes (David Trejo)
fix null key response: issue #267
Add test for `GET non-existent-key` case. (issue #267)
Merge pull request #269 from JerrySievert/master

fix for issue #267
Merge pull request #270 from chakrit/master

Test for #267
Important bug fix for null responses (Jerry Sievert)
remove null for rewind and use throw mechanism, should help with #273

Fix #275

Signed-off-by: DTrejo <david.trejo@voxer.com>
Fix cases where the offset is out of range (javascript parser)

The exception for the "too far" error was not thrown if the offset was bigger
than the buffer length, screwing up the parser. Fix #277

Signed-off-by: DTrejo <david.trejo@voxer.com>