move stuff to lib directory
Add a simple lock module

1. A way to acquire/release/expire a redis based lock
2. index.js for the package
list operations for stream

1. listInfo - find first, last element id and length of a list
2. listRead - read the tail end of a list, from a specific id.
3. listPush - write to the tail end of a list
fix paths
increase timeout and verbosity of a test
complete list abstraction moved to persistence
review comments

1. release lock when in error
2. add some more comments in the code.
refactor id_gen

- handles case where alloc callback may be null
add a test for list
rename confusing variable
Merge pull request #5 from zendesk/vanchi/stream

RADAR-403: Changes for stream resource