Avoid the jscache interface from node-memcached.
Check that the record is valid before using it anywhere.
Use generic functions in node-memcached interface.

Changed cache.get() to return a value not a record. Added cache.getRecord().
Added node-memcached interface to tests.
Proper command functions.
Bug fix: return arguments as an array rather than an object.