Added support for selecting database

Otherwise dump only works with database 0
http://redis.io/commands/select