Added a recursive function to encode all the unicode keys.
Fixing the unicode keys just enconding to utf8.
Deleted unused import collections.
Merge pull request #408 from damianavila/fix_shelve

Fix shelve backend server from unicode keys.