Redis namespace

Fix @pavels PR #221 and add test cases for master lock key name.

@pavels, @meatballhat I just have followed up with the suggestion come out from the discussion.