Basic support for blocking list pop

This PR has basic support for BLPOP. Since PR #58 has a lot more changes in it than what's needed I decided to recreate it. 

The tests still use LPOP because that's faster to test. BLPOP differs in a small way (that it returns an array) which is not tested but I don't see any problem in that.