Adds setnx support and some accompanying tests.
Merge pull request #29 from charrisbc/add-setnx-support

Adds setnx support and some accompanying tests.